Skip to content
Discussion options

You must be logged in to vote

You cannot have code that blocks for a long time, that is incompatible with the async mode that you are using (which I assume is the gevent_uwsgi mode).

If your long calculation is done inside of a loop, add socketio.sleep(0) inside the loop and that might help.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Oripy
Comment options

Answer selected by Oripy
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