mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
Reduce number of processes in the pool to 5
This commit is contained in:
parent
3d933c16d0
commit
0843159fb4
@ -15,7 +15,7 @@ from mailconfig import get_mail_aliases, get_mail_aliases_ex, get_mail_domains,
|
|||||||
# live across http requests so we don't baloon the system with
|
# live across http requests so we don't baloon the system with
|
||||||
# processes.
|
# processes.
|
||||||
import multiprocessing.pool
|
import multiprocessing.pool
|
||||||
pool = multiprocessing.pool.Pool(processes=10)
|
pool = multiprocessing.pool.Pool(processes=5)
|
||||||
|
|
||||||
env = utils.load_environment()
|
env = utils.load_environment()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user