mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-22 07:54:05 +00:00
Improve asset scanner logging
- Add log when scanner start is requested and when skipped due to already running - Remove noisy 'no mime_type' info log (expected during fast stub phase) Amp-Thread-ID: https://ampcode.com/threads/T-019c4f56-3fe1-72cb-888a-3ac4ac99b3d7 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
6
main.py
6
main.py
@@ -259,7 +259,11 @@ def prompt_worker(q, server_instance):
|
||||
for k in sensitive:
|
||||
extra_data[k] = sensitive[k]
|
||||
|
||||
e.execute(item[2], prompt_id, extra_data, item[4])
|
||||
asset_seeder.pause()
|
||||
try:
|
||||
e.execute(item[2], prompt_id, extra_data, item[4])
|
||||
finally:
|
||||
asset_seeder.resume()
|
||||
need_gc = True
|
||||
|
||||
remove_sensitive = lambda prompt: prompt[:5] + prompt[6:]
|
||||
|
||||
Reference in New Issue
Block a user