speed up update_pending in bin/update

Bug #558179 reported by pabs3
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
New
High
Unassigned

Bug Description

This patch changes the update script so that loading
and saving the per-list pending.pck files is done once
per list instead of once per pending request. This
results in a significant speedup (seconds per list
instead of minutes).

Revision history for this message
pabs3 (pabs3-users-sf) wrote :

The file update-pending-speedup.patch was added: A patch t ospeed up bin/update significantly.

Revision history for this message
pabs3 (pabs3-users-sf) wrote :

Logged In: YES
user_id=35028

This is against 2.1.6b3 by the way.

Revision history for this message
tkikuchi (tkikuchi-users) wrote :

Logged In: YES
user_id=67709

Sorry, but I'm declined to integrate this patch because,
1. patch is lengthy
2. the work is only one time (pre 2.1.4 to 2.1.5)
3. better bin/discard the pending requests than update at all.

Maybe, Barry have a different view.

Revision history for this message
pabs3 (pabs3-users-sf) wrote :

Logged In: YES
user_id=35028

Thats a shame :(

1. Do you know of a way to access private functions of
subclasses of MailList? I don't know enough python to do it :(
2. Yes, but it would be good if the downtime on this was
minutes instead of hours.
3. And generate complaints when people accuse list admins of
covering up their questions/discarding posts?

What would it take to get this patch into shape for mailman
2.1.6/2.1.7?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.