Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

queue: Increase default timeout to 30s, from 10s.

Alex Vandiver142de0f6703c
diff --git a/zerver/worker/queue_processors.py b/zerver/worker/queue_processors.py
index 0e8b13c92f7..12d1c906835 100644
--- a/zerver/worker/queue_processors.py
+++ b/zerver/worker/queue_processors.py
@@ -175,7 +175,7 @@ def timer_expired(limit: int, event_count: int, signal: int, frame: FrameType) -
class QueueProcessingWorker(ABC):
queue_name: str
- MAX_CONSUME_SECONDS: Optional[int] = 10
+ MAX_CONSUME_SECONDS: Optional[int] = 30
ENABLE_TIMEOUTS = False
CONSUME_ITERATIONS_BEFORE_UPDATE_STATS_NUM = 50
MAX_SECONDS_BEFORE_UPDATE_STATS = 30