Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
queue_processors: Add a comment clarifying that timeouts only happen when single-threaded.
Alex Vandiverab985c0066f6
diff --git a/zerver/worker/queue_processors.py b/zerver/worker/queue_processors.pyindex 699a5c534a3..b7e82dc2ffb 100644--- a/zerver/worker/queue_processors.py+++ b/zerver/worker/queue_processors.py@@ -213,6 +213,8 @@ def retry_send_email_failures(class QueueProcessingWorker(ABC):queue_name: strMAX_CONSUME_SECONDS: Optional[int] = 30+ # The MAX_CONSUME_SECONDS timeout is only enabled when handling a+ # single queue at once, with no threads.ENABLE_TIMEOUTS = FalseCONSUME_ITERATIONS_BEFORE_UPDATE_STATS_NUM = 50MAX_SECONDS_BEFORE_UPDATE_STATS = 30