mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-26 02:57:04 +00:00
Merge pull request #733 from yodax/daemons
Reduce number of processes in the pool to 5
This commit is contained in:
commit
eb545d7941
@ -22,6 +22,7 @@ System:
|
|||||||
* On low-usage systems, don't hold backups for quite so long by taking a full backup more often.
|
* On low-usage systems, don't hold backups for quite so long by taking a full backup more often.
|
||||||
* Nightly status checks might fail if any domains had non-ASCII characters.
|
* Nightly status checks might fail if any domains had non-ASCII characters.
|
||||||
* If domains need a TLS certificate and the user hasn't installed one yet using Let's Encrypt, the administrator would get a nightly email with weird interactive text asking them to agree to Let's Encrypt's ToS. Now just say that the provisioning can't be done automatically.
|
* If domains need a TLS certificate and the user hasn't installed one yet using Let's Encrypt, the administrator would get a nightly email with weird interactive text asking them to agree to Let's Encrypt's ToS. Now just say that the provisioning can't be done automatically.
|
||||||
|
* Reduce the number of background processes used by the management daemon to lower memory consumption
|
||||||
|
|
||||||
Setup:
|
Setup:
|
||||||
|
|
||||||
|
@ -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