one worker, lots of threads. reduces ram usage

This commit is contained in:
rimu 2025-01-24 11:48:15 +13:00
parent 65e67f32dc
commit 3b0332e9ec

View file

@ -1,7 +1,7 @@
import multiprocessing
workers = multiprocessing.cpu_count() * 2 + 1
threads = multiprocessing.cpu_count() * 2 + 1
workers = 1
threads = multiprocessing.cpu_count() * 4 + 1
worker_tmp_dir = '/dev/shm'