summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorbwarsaw2000-05-09 20:29:51 +0000
committerbwarsaw2000-05-09 20:29:51 +0000
commit50130ff56272cc77f74a6cbbdd6d279d96015020 (patch)
treec090c8802f3358020aa40dce45a7eb692f839782 /scripts
parentc70865202b9b8bc576b710b9cba894c65975aeaf (diff)
downloadmailman-50130ff56272cc77f74a6cbbdd6d279d96015020.tar.gz
mailman-50130ff56272cc77f74a6cbbdd6d279d96015020.tar.zst
mailman-50130ff56272cc77f74a6cbbdd6d279d96015020.zip
Changes to allow more control over list locking. This is used in
scripts/post and other places to catch lock timeouts in a way that can be reasonably handled. Specifically, __init__(): Don't pass the lock flag to InitTempVars(). Instead, use it directly in the constructor. InitTempVars(): This doesn't get a lock argument anymore, but it still creates the lock file. Also, the withlogging argument takes its default from mm_cfg.LIST_LOCK_DEBUGGING so it's easier to turn on lock debugging globally. Load(): No longer lock the database here. Load() is essentially used internally anyway. Post(): Removed. All email generated internally is sent directly via the HandlerAPI interface. Lock(): Now has a timeout argument, which is passed to the underlying LockFile.lock() method.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions