Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(config): say QUEUE_PREFIX must start with a letter or digit

Yudhi Armyndharis04ca2578f21a
diff --git a/.env.example b/.env.example
index 4d71b57b9..943b6df55 100644
--- a/.env.example
+++ b/.env.example
@@ -416,9 +416,10 @@ DATABASE_SYNCHRONIZE=false # WARNING: Set false in production! (data DB
# Redis key prefix of the BullMQ queues (default bull). Deployments that share one Redis must each set
# their own, or one's workers take the other's webhook jobs and complete them without delivering.
# Replicas of one deployment share a value. Changing it on a live deployment leaves the jobs queued
-# under the old prefix unprocessed. Up to 64 letters, digits, dots, underscores or hyphens. It covers the
-# queues only: with REDIS_ENABLED=true the rate-limit counters and the WebSocket fan-out are shared too,
-# and events reach the clients of every deployment on that Redis, so such deployments need a Redis each.
+# under the old prefix unprocessed. Up to 64 letters, digits, dots, underscores or hyphens, starting with
+# a letter or digit. It covers the queues only: with REDIS_ENABLED=true the rate-limit counters and the
+# WebSocket fan-out are shared too, and events reach the clients of every deployment on that Redis, so
+# such deployments need a Redis each.
# QUEUE_PREFIX=bull
# =============================================================================
diff --git a/docs/10-devops-infrastructure.md b/docs/10-devops-infrastructure.md
index 6df25b93e..dc8874c83 100644
--- a/docs/10-devops-infrastructure.md
+++ b/docs/10-devops-infrastructure.md
@@ -445,8 +445,9 @@ LOG_FORMAT=json
# CACHE_ENABLED=true
# QUEUE_ENABLED=true # process webhooks/ingress through the BullMQ queue
# Deployments that use the queue on one shared Redis need a distinct QUEUE_PREFIX each (default bull; up
-# to 64 letters, digits, dots, underscores or hyphens). A queue is named only by its prefix and name, so
-# two deployments on the same prefix take each other's webhook jobs and complete them without delivering.
+# to 64 letters, digits, dots, underscores or hyphens, starting with a letter or digit). A queue is named
+# only by its prefix and name, so two deployments on the same prefix take each other's webhook jobs and
+# complete them without delivering.
# Replicas of one deployment share a value; changing it on a live deployment leaves the jobs queued under
# the old prefix unprocessed. The prefix covers the queues only: with REDIS_ENABLED=true the rate-limit
# counters and the WebSocket fan-out channel are shared as well, and events reach the clients of every