improve time axis labels

+ change poll interval to 1 sec
This commit is contained in:
l_samenv
2024-09-25 07:51:43 +02:00
parent 48b89a9801
commit b919c60000
2 changed files with 27 additions and 146 deletions

View File

@@ -82,7 +82,7 @@ def get_update(path=None):
yield to_json_sse(msg)
if messages:
lastmsg = time.time()
gevent.sleep(5)
gevent.sleep(1)
else:
if time.time() > lastmsg + 30:
if not client.info():