mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 20:01:25 -08:00
one worker, lots of threads. reduces ram usage
This commit is contained in:
parent
65e67f32dc
commit
3b0332e9ec
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue