#1504 mod_mam: cleanup_runner blocking server operations
Running 0.11.x mod_mam backed by SQLite on a medium-sized production server.
The periodic cleanup_runner task will run from async, but still block the prosody server for longer intervals - on the specific installation for roughly 30 seconds each time it triggers, which is after 4h.
Could you please add a delay, or a yield() kind of thing, into the inner loop between the individual user archive deletions, so that the server gets a chance to work up on pending network activities?
Thanks for the report.
Have a patch, wondering what's the best pause time between each step.
tags Milestone-0.11 Status-Started
Fixed in s(hg link|sed s/trunk/0.11/). Please test.