mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 08:25:04 +00:00
perf: 优化并发处理
This commit is contained in:
@@ -4,9 +4,9 @@ from assets.tasks.common import generate_automation_execution_data
|
||||
from common.const.choices import Trigger
|
||||
|
||||
|
||||
def automation_execute_start(task_name, tp, child_snapshot=None):
|
||||
def automation_execute_start(task_name, tp, task_snapshot=None):
|
||||
from accounts.models import AutomationExecution
|
||||
data = generate_automation_execution_data(task_name, tp, child_snapshot)
|
||||
data = generate_automation_execution_data(task_name, tp, task_snapshot)
|
||||
|
||||
while True:
|
||||
try:
|
||||
|
Reference in New Issue
Block a user