fix: clear verified queue blockers and exit idle orphan workers
This commit is contained in:
1 parent
96e179ba65
commit
ca39fb3517
16 files changed
+537
-70
No files matched your search
@@ -1224,6 +1224,8 @@ def management_worker_main(request_path):
|
||||
raise RuntimeError('原生管理操作仅允许在本次私有桌面执行。')
|
||||
_require_management_continuation(job, root)
|
||||
if job.get('cancel_signal'):
|
||||
from .session_record import update_worker_state
|
||||
update_worker_state(job, 'PRECALL')
|
||||
from .desktop_worker import start_supervisor_watchdog
|
||||
start_supervisor_watchdog(job['supervisor_pid'], cancel_path=job['cancel_signal'],
|
||||
supervisor_identity=job.get('supervisor_identity'),
|
||||
|
||||
Reference in new issue
Block a user