Lucii1 commited on
Commit
f159559
·
1 Parent(s): 42665fd
Files changed (1) hide show
  1. app/sse/view.py +1 -1
app/sse/view.py CHANGED
@@ -12,7 +12,7 @@ _HEARTBEAT_INTERVAL = 10
12
  async def _heartbeat_loop():
13
  while True:
14
  await asyncio.sleep(_HEARTBEAT_INTERVAL)
15
- payload = json.dumps({"type": "heartbeat", "status": "test", "ts": time.time()}, ensure_ascii=False)
16
 
17
  stale_clients = []
18
  for client_id, queue in list(sse_clients.items()):
 
12
  async def _heartbeat_loop():
13
  while True:
14
  await asyncio.sleep(_HEARTBEAT_INTERVAL)
15
+ payload = json.dumps({"type": "heartbeat", "msg": "test", "ts": time.time()}, ensure_ascii=False)
16
 
17
  stale_clients = []
18
  for client_id, queue in list(sse_clients.items()):