1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-22 07:17:05 +00:00

Reduce number of processes in the pool to 5

This commit is contained in:
yodax 2016-02-22 17:38:30 +01:00
parent 3d933c16d0
commit 0843159fb4

View File

@ -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
# processes.
import multiprocessing.pool
pool = multiprocessing.pool.Pool(processes=10)
pool = multiprocessing.pool.Pool(processes=5)
env = utils.load_environment()