diff options
| author | bwarsaw | 2000-06-26 18:57:04 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-06-26 18:57:04 +0000 |
| commit | c2b5b92d894a2c7dad3a4da52a54e6c11fe89496 (patch) | |
| tree | 564c5cb4bd8937bb7081af52868936abac8ae7ab /Mailman/Defaults.py.in | |
| parent | 014c3cee287a394535a0dd78cb7cd169749595b8 (diff) | |
| download | mailman-c2b5b92d894a2c7dad3a4da52a54e6c11fe89496.tar.gz mailman-c2b5b92d894a2c7dad3a4da52a54e6c11fe89496.tar.zst mailman-c2b5b92d894a2c7dad3a4da52a54e6c11fe89496.zip | |
QRUNNER_PROCESS_LIFETIME, QRUNNER_MAX_MESSAGES: Two new resource
management variables for limiting the work a single qrunner process
can do.
Diffstat (limited to '')
| -rw-r--r-- | Mailman/Defaults.py.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index c68585446..0e28af905 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -419,6 +419,15 @@ LIST_LOCK_TIMEOUT = seconds(10) # qrunners run at the same time. QRUNNER_LOCK_LIFETIME = hours(10) +# Two other qrunner resource management variables. The first controls the +# maximum lifetime of any single qrunner process, and the second controls the +# maximum number of messages a single qrunner process will, er, process. +# Exceeding either limit causes qrunner to exit, reclaiming system resources +# and deleting the lock. Other qrunners will then process the remaining +# messages. Set either to None to inhibit this resource check. +QRUNNER_PROCESS_LIFETIME = hours(1) +QRUNNER_MAX_MESSAGES = 300 + ##### |
