fix(workflow): "Max submit count reached" error occurred when executing workflow as tool in iteration (#8595)

This commit is contained in:
takatost 2024-09-20 19:47:25 +08:00 committed by GitHub
commit e0a3307563
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions

View file

@ -89,6 +89,7 @@ class IterationNode(BaseNode):
variable_pool=variable_pool,
max_execution_steps=dify_config.WORKFLOW_MAX_EXECUTION_STEPS,
max_execution_time=dify_config.WORKFLOW_MAX_EXECUTION_TIME,
thread_pool_id=self.thread_pool_id,
)
start_at = datetime.now(timezone.utc).replace(tzinfo=None)