Update.
This commit is contained in:
parent
374db23669
commit
f3d12a257e
@ -27,6 +27,8 @@ class SocketService(BaseService):
|
||||
await ws.send_json(message)
|
||||
except Exception as ex:
|
||||
print(ex)
|
||||
print("Deleting socket.")
|
||||
self.subscriptions[channel_uid].remove(ws)
|
||||
continue
|
||||
count += 1
|
||||
return count
|
||||
|
@ -61,7 +61,7 @@ class Cache:
|
||||
|
||||
if is_new:
|
||||
self.version += 1
|
||||
print("New version:", self.version, flush=True)
|
||||
print("Cache store! New version:", self.version, flush=True)
|
||||
|
||||
async def delete(self, args):
|
||||
if args in self.cache:
|
||||
|
Loading…
Reference in New Issue
Block a user