summaryrefslogtreecommitdiff
path: root/Mailman/LockFile.py
diff options
context:
space:
mode:
authorbwarsaw2000-06-03 04:25:43 +0000
committerbwarsaw2000-06-03 04:25:43 +0000
commit67738b45d7da6fac2498b059f6dab3d99c60fa06 (patch)
treeb8847baa87afa4ea31d4077d694a482520a135e5 /Mailman/LockFile.py
parenta3f4889fa46a87968692de80a7d83bff4463ac54 (diff)
downloadmailman-67738b45d7da6fac2498b059f6dab3d99c60fa06.tar.gz
mailman-67738b45d7da6fac2498b059f6dab3d99c60fa06.tar.zst
mailman-67738b45d7da6fac2498b059f6dab3d99c60fa06.zip
Support for delivering recipient chunks via multiple threads. Python
must have been built with threading support, and MAX_DELIVERY_THREADS must be > 0. It is not enabled by default because it's not clear this is a performance win. This feature should be considered experimental for now. Specifically, process(), deliver(): No longer needs the MailList object in it's argument list. This allows us to multi-thread actual message delivery. We also calculate the message's text and the admin address only once. deliver() also takes a dictionary for failures, which it updates with chunk failures. Convert logging stuff to use new syslog() interface instead of MailList.LogMsg(). Log total delivery time instead of chunk delivery time. chunkify(): Instead of a separate bucket for each TLD, we now have only 4 buckets for recipients: .com .net/.org .edu/.ca/.us everything else buckets are not backfilled. pre_deliver(), threaded_deliver(): New functions.
Diffstat (limited to 'Mailman/LockFile.py')
0 files changed, 0 insertions, 0 deletions