diff options
| author | twouters | 2003-03-20 19:55:32 +0000 |
|---|---|---|
| committer | twouters | 2003-03-20 19:55:32 +0000 |
| commit | 496da7301195b3472cf282c56be0463c46ff842a (patch) | |
| tree | 7ebfb41dbd079bec988d11bb3c854b4bd6ef7b72 /Mailman/Defaults.py.in | |
| parent | ba71fa95af583101b88d3b82aadc9bcd1c0b9953 (diff) | |
| download | mailman-496da7301195b3472cf282c56be0463c46ff842a.tar.gz mailman-496da7301195b3472cf282c56be0463c46ff842a.tar.zst mailman-496da7301195b3472cf282c56be0463c46ff842a.zip | |
Diffstat (limited to 'Mailman/Defaults.py.in')
| -rw-r--r-- | Mailman/Defaults.py.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index 5a9114cfb..cfb60802e 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -1065,6 +1065,25 @@ LIST_LOCK_LIFETIME = hours(5) # the message will be re-queued for later delivery. LIST_LOCK_TIMEOUT = seconds(10) +# Set this to true to turn on lock debugging messages for the pending +# requests database, which will be written to logs/locks. If you think +# you're having lock problems, or just want to tune the locks for your +# system, turn on lock debugging. +PENDINGDB_LOCK_DEBUGGING = 0 + +# This variable specifies how long an attempt will be made to acquire a +# pendingdb lock by the incoming qrunner process. If the lock acquisition +# times out, the message will be re-queued for later delivery. +PENDINGDB_LOCK_TIMEOUT = seconds(30) + +# The pendingdb is shared among all lists, and handles all list +# (un)subscriptions, admin approvals and otherwise held messages, so it is +# potentially locked a lot more often than single lists. Mailman deals with +# this by re-trying any attempts to alter the pendingdb that failed because +# of locking errors. This variable indicates howmany attempt should be made +# before abandoning all hope. +PENDINGDB_LOCK_ATTEMPTS = 10 + ##### |
