From e36658e1a1c389d22bb7211d65bc567fc2c90cb8 Mon Sep 17 00:00:00 2001 From: meeb Date: Sun, 20 Dec 2020 17:57:04 +1100 Subject: [PATCH] missing default setting for container build --- tubesync/tubesync/local_settings.py.container | 1 + 1 file changed, 1 insertion(+) diff --git a/tubesync/tubesync/local_settings.py.container b/tubesync/tubesync/local_settings.py.container index d1d36c5..8210feb 100644 --- a/tubesync/tubesync/local_settings.py.container +++ b/tubesync/tubesync/local_settings.py.container @@ -29,6 +29,7 @@ DATABASES = { } DEFAULT_THREADS = 2 +MAX_BACKGROUND_TASK_ASYNC_THREADS = 8 BACKGROUND_TASK_ASYNC_THREADS = int(os.getenv('TUBESYNC_WORKERS', DEFAULT_THREADS)) if BACKGROUND_TASK_ASYNC_THREADS > MAX_BACKGROUND_TASK_ASYNC_THREADS: BACKGROUND_TASK_ASYNC_THREADS = MAX_BACKGROUND_TASK_ASYNC_THREADS