SSEClient (Python) slow

113 views
Skip to first unread message

Daniel Zuidinga

unread,
Aug 28, 2017, 4:25:25 PM8/28/17
to Firebase Google Group
I use the SSEClient in a python 2.7 thread. But the reaction after an update is quite slow (ranging from 1sec to 30seconds). Any ideas what I am doinng wrong? The server is fast and the data load low.

sse = SSEClient('https://mydb-fsdfs-432.firebaseio.com/_usertasks/mydata.json?auth=myOldAuthToken')
for new_message in sse:
if str(new_message) != 'null':
try:
...

Daniel Zuidinga

unread,
Aug 29, 2017, 4:56:41 AM8/29/17
to Firebase Google Group
I downgraded SSEClient library from 0.0.18 to 0.0.12 and now it works again without lags.
Reply all
Reply to author
Forward
0 new messages