Skip to content

Connection timeouts not enforced in AsyncClient under heavy load #1160

Answered by miguelgrinberg
zzrcxb asked this question in Q&A
Discussion options

You must be logged in to vote

The Socket.IO connection has two different phases. The first phase is about establishing the low-level Engine.IO transport. The second phase connects the Socket.IO namespace(s). The wait timeout applies to the second phase. I guess the definition can be extended to apply to the whole connection, but that is not how this is currently designed to work.

Unfortunately in an asynchronous application you can't add too much CPU load. I'm not sure how many clients you are starting, but from your description it sounds like maybe you are doing more than what your process can handle reasonably well.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zzrcxb
Comment options

@miguelgrinberg
Comment options

@zzrcxb
Comment options

Answer selected by zzrcxb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants