mirror of
https://github.com/langgenius/dify.git
synced 2026-06-07 16:32:01 +08:00
chore: increase default graph engine min workers (#35650)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
This commit is contained in:
parent
7210f856c9
commit
9dc32f2318
@ -557,7 +557,7 @@ MAX_VARIABLE_SIZE=204800
|
||||
|
||||
# GraphEngine Worker Pool Configuration
|
||||
# Minimum number of workers per GraphEngine instance (default: 1)
|
||||
GRAPH_ENGINE_MIN_WORKERS=1
|
||||
GRAPH_ENGINE_MIN_WORKERS=3
|
||||
# Maximum number of workers per GraphEngine instance (default: 10)
|
||||
GRAPH_ENGINE_MAX_WORKERS=10
|
||||
# Queue depth threshold that triggers worker scale up (default: 3)
|
||||
|
||||
@ -761,7 +761,7 @@ class WorkflowConfig(BaseSettings):
|
||||
# GraphEngine Worker Pool Configuration
|
||||
GRAPH_ENGINE_MIN_WORKERS: PositiveInt = Field(
|
||||
description="Minimum number of workers per GraphEngine instance",
|
||||
default=1,
|
||||
default=3,
|
||||
)
|
||||
|
||||
GRAPH_ENGINE_MAX_WORKERS: PositiveInt = Field(
|
||||
|
||||
@ -297,7 +297,7 @@ class TableTestRunner:
|
||||
max_workers: int = 4,
|
||||
enable_logging: bool = False,
|
||||
log_level: str = "INFO",
|
||||
graph_engine_min_workers: int = 1,
|
||||
graph_engine_min_workers: int = 3,
|
||||
graph_engine_max_workers: int = 1,
|
||||
graph_engine_scale_up_threshold: int = 5,
|
||||
graph_engine_scale_down_idle_time: float = 30.0,
|
||||
@ -310,7 +310,7 @@ class TableTestRunner:
|
||||
max_workers: Maximum number of parallel workers for test execution
|
||||
enable_logging: Enable detailed logging
|
||||
log_level: Logging level (DEBUG, INFO, WARNING, ERROR)
|
||||
graph_engine_min_workers: Minimum workers for GraphEngine (default: 1)
|
||||
graph_engine_min_workers: Minimum workers for GraphEngine (default: 3)
|
||||
graph_engine_max_workers: Maximum workers for GraphEngine (default: 1)
|
||||
graph_engine_scale_up_threshold: Queue depth to trigger scale up
|
||||
graph_engine_scale_down_idle_time: Idle time before scaling down
|
||||
|
||||
@ -177,7 +177,7 @@ WORKFLOW_MAX_EXECUTION_TIME=1200
|
||||
WORKFLOW_CALL_MAX_DEPTH=5
|
||||
MAX_VARIABLE_SIZE=204800
|
||||
WORKFLOW_FILE_UPLOAD_LIMIT=10
|
||||
GRAPH_ENGINE_MIN_WORKERS=1
|
||||
GRAPH_ENGINE_MIN_WORKERS=3
|
||||
GRAPH_ENGINE_MAX_WORKERS=10
|
||||
GRAPH_ENGINE_SCALE_UP_THRESHOLD=3
|
||||
GRAPH_ENGINE_SCALE_DOWN_IDLE_TIME=5.0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user