Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

socketIO.wait(seconds=0.1) not honouring time given #193

Open
Jacobh2 opened this issue Aug 1, 2018 · 0 comments
Open

socketIO.wait(seconds=0.1) not honouring time given #193

Jacobh2 opened this issue Aug 1, 2018 · 0 comments

Comments

@Jacobh2
Copy link

Jacobh2 commented Aug 1, 2018

Hey!

I'm trying to use a socketIO client in my main loop in a non-blocking way, in order to do other tasks also by calling sio.wait(seconds=0.1). At first it seems to work: I'm able to do other stuff and then in the loop come back to this part where it can listen to a server sending requests to the client.

However, after further checking, I noticed that the time it takes for sio.wait(seconds=0.1) to execute is pretty much exactly 1 second!

Are there any limitations on how low this value can be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant