Unbuffered.
This commit is contained in:
parent
4de93489ef
commit
1c53a90e00
@ -27,8 +27,8 @@ class SocketService(BaseService):
|
||||
try:
|
||||
await ws.send_json(message)
|
||||
except Exception as ex:
|
||||
print(ex)
|
||||
print("Deleting socket.")
|
||||
print(ex,flush=True)
|
||||
print("Deleting socket.",flush=True)
|
||||
self.subscriptions[channel_uid].remove(ws)
|
||||
continue
|
||||
count += 1
|
||||
@ -37,4 +37,4 @@ class SocketService(BaseService):
|
||||
try:
|
||||
self.sockets.remove(ws)
|
||||
except IndexError:
|
||||
pass
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user