invisibleroads / socketIO-client

A socket.io client library for Python
http://pypi.python.org/pypi/socketIO-client
MIT License
447 stars 205 forks source link

stuck in continuous loop if connection url is invalid #205

Open wasif-digitalnet opened 5 years ago

wasif-digitalnet commented 5 years ago

I'm using socketio-client in my Odoo app,

Expected Behavior:

If url given to SocketIO(URL) is invalid or not connected, it should stop.

Actual Behavior:

If url given to SocketIO(URL) is invalid or not connected, it stuck into a continuous loop and stops the complete application.

Question:

Is there any way to stop SocketIO() from going into the continuous loop and stop after 2 or 3 attempts?

rake1191 commented 4 years ago

+1