1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-26 02:57:04 +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 # 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()