dev@locazia: fix visual value

This commit is contained in:
user committed 2024-03-06 12:51:52 +03:00
1 parent 0fc3463b5e
commit e5af6e8ddb
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ async def s_api_system(request): # /api/node
'services': {
service_key: {
'status': service['status'],
'delay': int((datetime.now() - service['timestamp']).total_seconds()) if service['timestamp'] else -1,
'delay': round((datetime.now() - service['timestamp']).total_seconds(), 3) if service['timestamp'] else -1,
}
for service_key, service in request.app.ctx.memory.known_states.items()
}