Kim Alvefur <zash@zash.se> [Tue, 30 Nov 2021 00:55:54 +0100] rev 11998
mod_http_file_share: Keep global storage use accurate longer.
Merging those loops removes the miscounting that would occur in case a
file could not be deleted, so no need to limit it to that case.
Kim Alvefur <zash@zash.se> [Tue, 30 Nov 2021 00:53:22 +0100] rev 11997
mod_http_file_share: Merge file expiry loops
Not sure what the benefit of two separate loops was, perhaps reduced
memory usage by allowing archive query state to be garbage collected
before moving on to deleting files. Never measured so probably not so.
This simplifies a bit.
Kim Alvefur <zash@zash.se> [Tue, 30 Nov 2021 00:52:07 +0100] rev 11996
mod_http_file_share: Limit query to time since last expiry
This is probably a bad idea, as files that could not be deleted for some
reason will not be tried again. I was just thinking of what the 'task'
argument could be used for.
Kim Alvefur <zash@zash.se> [Mon, 22 Nov 2021 19:07:56 +0100] rev 11995
mod_admin_shell: List periodic tasks in module:info
Kim Alvefur <zash@zash.se> [Mon, 22 Nov 2021 14:54:32 +0100] rev 11994
mod_http_file_share: Switch to mod_cron for periodic tasks
Kim Alvefur <zash@zash.se> [Mon, 22 Nov 2021 14:49:05 +0100] rev 11993
mod_muc_mam: Switch to mod_cron for message expiry
Kim Alvefur <zash@zash.se> [Sun, 21 Nov 2021 18:16:03 +0100] rev 11992
mod_mam: Switch to new cron API
Kim Alvefur <zash@zash.se> [Sun, 21 Nov 2021 18:13:21 +0100] rev 11991
core.moduleapi: Add API for adding daily or hourly tasks via mod_cron
Kim Alvefur <zash@zash.se> [Sun, 21 Nov 2021 15:50:36 +0100] rev 11990
mod_cron: Initial commit of periodic task runner
A number of modules now have periodic tasks that need to run, e.g. for
cleaning out old messages or files. This has highlighted a need for
coordinating and optimizing scheduling of such tasks.
Kim Alvefur <zash@zash.se> [Thu, 02 Dec 2021 14:28:52 +0100] rev 11989
mod_smacks: Remove obsolete comment
It dates back to the initial commit in prosody-modules 9a7671720dec