summaryrefslogtreecommitdiff
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
authorcotton1998-10-23 12:23:19 +0000
committercotton1998-10-23 12:23:19 +0000
commit4f374e8529acc9f5fc4c700fc332789db142c15c (patch)
treee999de47f3cb83bedb6f29942e991f6597a9c8d0 /Mailman/MailList.py
parentd2ee611f7c0892ccc182599182a28913dc2a7ebc (diff)
downloadmailman-4f374e8529acc9f5fc4c700fc332789db142c15c.tar.gz
mailman-4f374e8529acc9f5fc4c700fc332789db142c15c.tar.zst
mailman-4f374e8529acc9f5fc4c700fc332789db142c15c.zip
changed the site site variable ADMIN_MEMBER_CHUNKSIZE to a per-list
variable (admin_member_chunksize). this is not yet settable by means of cgi, but you can set it at an interactive python session. This is a start on making the membership management part of the admin cgi scalable for really big lists. details: * up'd DATA_FILE_VERSION in Mailman/Defaults.py.in * replaced ADMIN_MEMBER_CHUNKSIZE with DEFAULT_ADMIN_MEMBER_CHUNKSIZE in Mailman/Defaults.py.in. * added a list variable assignment in Mailman.MailList.InitVars * added code to add the admin_member_chunksize attribute to a list when versions change in Mailman/versions.py * made admin.py format members according to list.admin_member_chunksize instead of mm_cfg.ADMIN_MEMBER_CHUNKSIZE scott
Diffstat (limited to 'Mailman/MailList.py')
-rw-r--r--Mailman/MailList.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index 1bd8b3be7..652760504 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -197,6 +197,7 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
self.obscure_addresses = mm_cfg.DEFAULT_OBSCURE_ADDRESSES
self.member_posting_only = mm_cfg.DEFAULT_MEMBER_POSTING_ONLY
self.host_name = mm_cfg.DEFAULT_HOST_NAME
+ self.admin_member_chunksize = mm_cfg.DEFAULT_ADMIN_MEMBER_CHUNKSIZE
# Analogs to these are initted in Digester.InitVars
self.nondigestable = mm_cfg.DEFAULT_NONDIGESTABLE