From dbd77feb09ae45b0556c328bfb6d004947ca49bb Mon Sep 17 00:00:00 2001 From: rclayton-neon <143545447+rclayton-neon@users.noreply.github.com> Date: Thu, 7 Aug 2025 04:46:33 -0500 Subject: [PATCH] Clarify "QUEUE_HEALTH_CHECK_PORT" behavior (#2887) Co-authored-by: Deborah Barnard --- docs/hosting/configuration/environment-variables/queue-mode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hosting/configuration/environment-variables/queue-mode.md b/docs/hosting/configuration/environment-variables/queue-mode.md index e7d708224..72adc0389 100644 --- a/docs/hosting/configuration/environment-variables/queue-mode.md +++ b/docs/hosting/configuration/environment-variables/queue-mode.md @@ -30,7 +30,7 @@ You can run n8n in different modes depending on your needs. Queue mode provides | `QUEUE_BULL_REDIS_DUALSTACK` | Boolean | `false` | Enable dual-stack support (IPv4 and IPv6) on Redis connections. | | `QUEUE_WORKER_TIMEOUT` (**deprecated**) | Number | `30` | **Deprecated** Use `N8N_GRACEFUL_SHUTDOWN_TIMEOUT` instead.

How long should n8n wait (seconds) for running executions before exiting worker process on shutdown. | | `QUEUE_HEALTH_CHECK_ACTIVE` | Boolean | `false` | Whether to enable health checks (true) or disable (false). | -| `QUEUE_HEALTH_CHECK_PORT` | Number | - | The port to serve health checks on. | +| `QUEUE_HEALTH_CHECK_PORT` | Number | 5678 | The port to serve health checks on. If you experience a port conflict error when starting a worker server using its default port, change this. | | `QUEUE_WORKER_LOCK_DURATION` | Number | `30000` | How long (in ms) is the lease period for a worker to work on a message. | | `QUEUE_WORKER_LOCK_RENEW_TIME` | Number | `15000` | How frequently (in ms) should a worker renew the lease time. | | `QUEUE_WORKER_STALLED_INTERVAL` | Number | `30000` | How often should a worker check for stalled jobs (use 0 for never). |