10 Dec
2021
10 Dec
'21
7:33 p.m.
On 12/10/21 10:03 AM, dancab@caltech.edu wrote:
Mark,
Is there a mailman-web command that could be used on a specific list to expire cached entries?
The cache is a Mailman core function, not a mailman-web function.
If you have Mailman core >= 3.3.5, the task runner deletes expired cache
entries every hour or at intervals defined by the run_tasks_every
setting in the [mailman]
section of mailman.cfg.
For older versions you could run in an interactive mailman shell
getUtility(ICacheManager).evict_expired()
in a script, you'd also need
from mailman.interfaces.cache import ICacheManager
from zope.component import getUtility
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan