Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(env): say how long a capped webhook job waits

Yudhi Armyndharisa533be51e915
diff --git a/.env.example b/.env.example
index 0a9ef8b95..3d1d9a5ef 100644
--- a/.env.example
+++ b/.env.example
@@ -772,10 +772,11 @@ WEBHOOK_SSRF_PROTECT=true
# - A dead webhook receiver holds a slot for up to WEBHOOK_TIMEOUT per attempt. Once a webhook's
# attempt fails, jobs for it that start afterwards take a per-session slot, at most
# WEBHOOK_DEGRADED_SESSION_CONCURRENCY at a time (the rest wait in the delayed set without
-# spending an attempt); a job already running when the failure lands is not counted. The first
-# 2xx lifts the limit. Keep WEBHOOK_WORKER_CONCURRENCY above WEBHOOK_DEGRADED_SESSION_CONCURRENCY
-# times the number of sessions whose receivers may fail at once, or those sessions fill the
-# pool and every other webhook waits behind them.
+# spending an attempt, each wait doubling up to 64 times WEBHOOK_RETRY_DELAY); a job already
+# running when the failure lands is not counted. The first 2xx lifts the limit. Keep
+# WEBHOOK_WORKER_CONCURRENCY above WEBHOOK_DEGRADED_SESSION_CONCURRENCY times the number of
+# sessions whose receivers may fail at once, or those sessions fill the pool and every other
+# webhook waits behind them.
# - An ingress job waiting on a busy conversation still holds a slot, so keep
# INGRESS_WORKER_CONCURRENCY above the largest burst on one conversation, and declare a
# conversationId pointer on the route (without one, the whole instance is one conversation).