mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-02 19:02:31 +00:00
fix: preserve update observations for stopped LXC guests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
"""One process-wide LXC completion state, independent of Flask import name.
|
||||
|
||||
AppRun executes flask_server as __main__, while collectors import it as
|
||||
flask_server. Both completion paths must share this canonical module so
|
||||
the terminal hook and compatibility HTTP callback cannot consume a run twice.
|
||||
No guest actions, registry writes or background tasks occur on import.
|
||||
"""
|
||||
import threading
|
||||
|
||||
lock = threading.RLock()
|
||||
runs: dict[tuple[int, str], dict] = {}
|
||||
Reference in New Issue
Block a user