python flask_socketio the client does not receive the information if the server takes too long to respond code example
Example 1: Flask socket io
pip install flask-socketio
Example 2: Flask socket io
gunicorn -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 module:app