fix: Infinite loop increases maximum loop count limit (#4089)
parent
4242c776ed
commit
b0509f74e7
|
|
@ -18,7 +18,7 @@ from common.handle.impl.response.loop_to_response import LoopToResponse
|
||||||
from maxkb.const import CONFIG
|
from maxkb.const import CONFIG
|
||||||
from django.utils.translation import gettext as _
|
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):
|
def _is_interrupt_exec(node, node_variable: Dict, workflow_variable: Dict):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue