diff options
| author | cotton | 1998-10-23 12:23:19 +0000 |
|---|---|---|
| committer | cotton | 1998-10-23 12:23:19 +0000 |
| commit | 4f374e8529acc9f5fc4c700fc332789db142c15c (patch) | |
| tree | e999de47f3cb83bedb6f29942e991f6597a9c8d0 /Mailman/versions.py | |
| parent | d2ee611f7c0892ccc182599182a28913dc2a7ebc (diff) | |
| download | mailman-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/versions.py')
| -rw-r--r-- | Mailman/versions.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mailman/versions.py b/Mailman/versions.py index 02bf2d7ac..e3f2df273 100644 --- a/Mailman/versions.py +++ b/Mailman/versions.py @@ -83,6 +83,8 @@ def UpdateOldVars(l, stored_state): delattr(l, "open_subscribe") if not hasattr(l, "administrivia"): setattr(l, "administrivia", mm_cfg.DEFAULT_ADMINISTRIVIA) + if not hasattr(l, "admin_member_chunksize"): + setattr(l, "admin_member_chunksize", mm_cfg.DEFAULT_ADMIN_MEMBER_CHUNKSIZE) if not hasattr(l, "posters_includes_members"): setattr(l, "posters_includes_members", mm_cfg.DEFAULT_POSTERS_INCLUDES_MEMBERS) |
