mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-03 22:47:14 +08:00
Fix ruff.
This commit is contained in:
parent
411a2c5bfa
commit
e42f69b92e
2
main.py
2
main.py
@ -185,7 +185,7 @@ def prompt_worker(q, server_instance):
|
|||||||
|
|
||||||
current_time = time.perf_counter()
|
current_time = time.perf_counter()
|
||||||
execution_time = current_time - execution_start_time
|
execution_time = current_time - execution_start_time
|
||||||
|
|
||||||
# Log Time in a more readable way after 10 minutes
|
# Log Time in a more readable way after 10 minutes
|
||||||
if execution_time > 600:
|
if execution_time > 600:
|
||||||
execution_time = time.strftime("%H:%M:%S", time.gmtime(execution_time))
|
execution_time = time.strftime("%H:%M:%S", time.gmtime(execution_time))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user