mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-07-13 20:21:16 -03:00
fix(registry): force re-registration on WS refresh to prevent timeout, demote empty-registry log to debug
- workflow_registry.js: add force param to refreshRegistry(), bypass fingerprint dedup when responding to lora_registry_refresh WS message. Without this, the backend's wait_for_all() times out after 0.5s because the frontend skips the register-nodes POST when the workflow fingerprint hasn't changed (common after ComfyUI restart with an empty or unchanged workflow). - misc_handlers.py: demote 'No nodes registered after refresh' from WARNING to DEBUG — empty workflows are a normal operational state, not a warning-worthy condition.
This commit is contained in:
@@ -3314,7 +3314,10 @@ class NodeRegistryHandler:
|
||||
self._last_slow_path_ts = time.monotonic()
|
||||
|
||||
if registry_info["node_count"] == 0:
|
||||
logger.warning("No nodes registered after refresh")
|
||||
logger.debug(
|
||||
"[LM:Registry] refresh OK — %s connected tab(s) but 0 compatible nodes found",
|
||||
registry_info["tab_count"],
|
||||
)
|
||||
return web.json_response(
|
||||
{
|
||||
"success": False,
|
||||
|
||||
Reference in New Issue
Block a user