fix: Infinite loop increases maximum loop count limit (#4089)

v3.2
shaohuzhang1 2025-09-23 15:40:07 +08:00 committed by GitHub
parent 4242c776ed
commit b0509f74e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ from common.handle.impl.response.loop_to_response import LoopToResponse
from maxkb.const import CONFIG
from django.utils.translation import gettext as _
max_loop_count = (CONFIG.get("MAX_LOOP_COUNT") or 1000)
max_loop_count = int((CONFIG.get("MAX_LOOP_COUNT") or 1000))
def _is_interrupt_exec(node, node_variable: Dict, workflow_variable: Dict):