Skip to content

Commit 8540548

Browse files
committed
fix: Infinite loop increases maximum loop count limit
1 parent 4242c77 commit 8540548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/application/flow/step_node/loop_node/impl/base_loop_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from maxkb.const import CONFIG
1919
from django.utils.translation import gettext as _
2020

21-
max_loop_count = (CONFIG.get("MAX_LOOP_COUNT") or 1000)
21+
max_loop_count = int((CONFIG.get("MAX_LOOP_COUNT") or 1000))
2222

2323

2424
def _is_interrupt_exec(node, node_variable: Dict, workflow_variable: Dict):

0 commit comments

Comments
 (0)