Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
queue_processors: Disable timeouts with PushNotificationsWorker.
Alex Vandiver75f1070881cb
diff --git a/zerver/worker/queue_processors.py b/zerver/worker/queue_processors.pyindex b7e82dc2ffb..c4c240a268e 100644--- a/zerver/worker/queue_processors.py+++ b/zerver/worker/queue_processors.py@@ -720,6 +720,11 @@ class EmailSendingWorker(LoopQueueProcessingWorker):@assign_queue("missedmessage_mobile_notifications")class PushNotificationsWorker(QueueProcessingWorker):+ # The use of aioapns in the backend means that we cannot use+ # SIGALRM to limit how long a consume takes, as SIGALRM does not+ # play well with asyncio.+ MAX_CONSUME_SECONDS = None+def start(self) -> None:# initialize_push_notifications doesn't strictly do anything# beyond printing some logging warnings if push notifications