Hi mates,
Im getting updates from stream firebase with firebase-python-sdk, all works great untill i got
internet disconected.
When the internet is disconnected and still disconnected for more than
2~3min the connection with streaming, streaming do not get newers updates or anything else, for
this issue i created an script to handle with time of disconnection, like if
im disconnected more than 100sec ill just kill streaming threads and
connect a new thread.
But when the internet get disconnected while im
opening a new connection its hang forever in opening stream code and do
not return to do the rest of code.
I tried to study what going on inside firebase .listen then i saw SSEclient is called to make a connections, and i thing there is no timeout set.
how can i avoid this hanging issue, or handle with disconnections on my code??