Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
workers: Run realm export with one thread if in low-memory environment.
Alex Vandiver362177b788a9
diff --git a/zerver/worker/queue_processors.py b/zerver/worker/queue_processors.pyindex 1e1d5215aa8..b44388c7a2a 100644--- a/zerver/worker/queue_processors.py+++ b/zerver/worker/queue_processors.py@@ -1074,7 +1074,7 @@ class DeferredWorker(QueueProcessingWorker):public_url = export_realm_wrapper(realm=realm,output_dir=output_dir,- threads=6,+ threads=1 if self.threaded else 6,upload=True,public_only=True,)