mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 22:33:11 +00:00
chore: update env example for worker-runner sidecar pattern
remove N8N_RUNNER_COUNT (now 1:1 with workers), add OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS setting, clarify that generate_n8n_workers.sh should be run after changing count.
This commit is contained in:
12
.env.example
12
.env.example
@@ -177,11 +177,15 @@ RUN_N8N_IMPORT=
|
||||
# n8n configuration
|
||||
############
|
||||
|
||||
# Number of n8n worker replicas (for the n8n-worker service). Defaults to 1 if unset.
|
||||
N8N_WORKER_COUNT=
|
||||
# Number of n8n worker-runner pairs to generate.
|
||||
# Each worker gets its own dedicated task runner sidecar.
|
||||
# After changing, run: bash scripts/generate_n8n_workers.sh
|
||||
# Defaults to 1 if unset.
|
||||
N8N_WORKER_COUNT=1
|
||||
|
||||
# Number of n8n task runner replicas (for Code/Python node execution). Defaults to 1 if unset.
|
||||
N8N_RUNNER_COUNT=
|
||||
# Enable offloading manual executions to workers (recommended for production).
|
||||
# When true, the main n8n instance does not execute workflows, only coordinates.
|
||||
OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS=true
|
||||
|
||||
# Maximum number of concurrent Code node executions per task runner. Defaults to 5.
|
||||
N8N_RUNNERS_MAX_CONCURRENCY=5
|
||||
|
||||
Reference in New Issue
Block a user