Refresh CPU/RAM info every 1 second. Ref #2262.

This commit is contained in:
grossmj committed 2018-01-15 14:42:01 +07:00
1 parent ffc7024b64
commit 9d9dc037d8
2 files changed
+3 -4

No files matched your search

@@ -48,7 +48,7 @@ class NotificationHandler:
with notifications.queue() as queue:
while True:
try:
notification = yield from queue.get_json(5)
notification = yield from queue.get_json(1)
except asyncio.futures.CancelledError:
break
if ws.closed: