fix workflow scheduler

This commit is contained in:
jxxghp
2025-02-26 18:24:27 +08:00
parent a7c4161f91
commit eec25113b5
4 changed files with 6 additions and 3 deletions

View File

@@ -494,6 +494,9 @@ class Scheduler(metaclass=Singleton):
"""
更新工作流定时服务
"""
if not self._scheduler:
return
# 移除该工作流的全部服务
self.remove_workflow_job(workflow)
# 添加工作流服务