diff --git a/apps/application/flow/step_node/loop_node/impl/base_loop_node.py b/apps/application/flow/step_node/loop_node/impl/base_loop_node.py index cf2c9ec87..cac6e1277 100644 --- a/apps/application/flow/step_node/loop_node/impl/base_loop_node.py +++ b/apps/application/flow/step_node/loop_node/impl/base_loop_node.py @@ -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 = int((CONFIG.get("MAX_LOOP_COUNT") or 1000)) +max_loop_count = int(CONFIG.get("WORKFLOW_LOOP_NODE_MAX_LOOP_COUNT", 500)) def _is_interrupt_exec(node, node_variable: Dict, workflow_variable: Dict): diff --git a/installer/Dockerfile b/installer/Dockerfile index 3455c0ab8..c5ba2e5e3 100644 --- a/installer/Dockerfile +++ b/installer/Dockerfile @@ -44,7 +44,6 @@ ENV MAXKB_VERSION="${DOCKER_IMAGE_TAG} (build at ${BUILD_AT}, commit: ${GITHUB_C MAXKB_LOCAL_MODEL_HOST=127.0.0.1 \ MAXKB_LOCAL_MODEL_PORT=11636 \ MAXKB_LOCAL_MODEL_PROTOCOL=http \ - MAXKB_MAX_LOOP_COUNT=1000 \ PIP_TARGET=/opt/maxkb/python-packages