Merge pull request #733 from yodax/daemons

Reduce number of processes in the pool to 5
Šī revīzija ir iekļauta:
Joshua Tauberer
2016-02-22 14:42:20 -05:00
revīzija eb545d7941
2 mainīti faili ar 2 papildinājumiem un 1 dzēšanām
+1
Parādīt failu
@@ -22,6 +22,7 @@ System:
* 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.
* 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:
+1 -1
Parādīt failu
@@ -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()