dev@locazia: fix visual value

This commit is contained in:
user 2024-03-06 12:51:52 +03:00
parent 0fc3463b5e
commit e5af6e8ddb
1 changed files with 1 additions and 1 deletions

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()
}