From 8e41af34d44a6a1bf39878fbfa681585d7cb025f Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Thu, 28 Apr 2022 13:14:59 +0300 Subject: [PATCH] Set max_jobs to 1 --- src/core/setup_arq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/setup_arq.py b/src/core/setup_arq.py index b407813..22632a3 100644 --- a/src/core/setup_arq.py +++ b/src/core/setup_arq.py @@ -17,5 +17,5 @@ class WorkerSettings: functions = [update, update_books, update_authors, update_sequences, update_genres] on_startup = startup redis_settings = get_redis_settings() - max_jobs = 2 + max_jobs = 1 job_timeout = 15 * 60