mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 21:15:13 +00:00
Update the server startup time to string (#646)
This commit is contained in:
@@ -164,7 +164,7 @@ class ServerInfo:
|
||||
'mem_vms': ServerInfo.format_bytes(mem_info.vms),
|
||||
'mem_rss': ServerInfo.format_bytes(mem_info.rss),
|
||||
'mem_free': ServerInfo.format_bytes(mem_info.vms - mem_info.rss),
|
||||
'startup': start_time,
|
||||
'startup': timezone.t_str(start_time),
|
||||
'elapsed': elapsed,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user