Kim Alvefur <zash@zash.se> [Sat, 04 Dec 2021 15:03:26 +0100] rev 12011
mod_http_file_share: Improve consistency of terminology in logging
Prefer 'prune' over 'delete' since it more strongly implies removal of
excess.
Kim Alvefur <zash@zash.se> [Sat, 04 Dec 2021 15:03:52 +0100] rev 12010
mod_http_file_share: Rename variable for clarity
Kim Alvefur <zash@zash.se> [Sat, 04 Dec 2021 14:28:04 +0100] rev 12009
mod_http_file_share: Fix deletion counter
Before aa60f4353001 each loop had its own counter, seems incrementing of
one of them was lost. But only one is needed anyhow.
Kim Alvefur <zash@zash.se> [Fri, 03 Dec 2021 10:43:02 +0100] rev 12008
mod_http_file_share: Back out 876e1b6d6ae4
Kim Alvefur <zash@zash.se> [Fri, 03 Dec 2021 09:08:23 +0100] rev 12007
mod_http_file_share: Recalculate total storage usage weekly instead of daily
Before mod_cron this job ran less frequently than the upload removal
job. Running them at the same frequency seems wasteful somehow, plus the
total should not drift away from the true value that fast.
Kim Alvefur <zash@zash.se> [Fri, 03 Dec 2021 09:05:41 +0100] rev 12006
mod_cron: Add a 'weekly' job frequency
Kim Alvefur <zash@zash.se> [Fri, 03 Dec 2021 09:01:09 +0100] rev 12005
mod_cron: Initialize timestamp of new tasks to start of period
Makes it more generic so new periods (e.g. weekly etc) can be added
easily.
Kim Alvefur <zash@zash.se> [Fri, 03 Dec 2021 08:57:40 +0100] rev 12004
mod_cron: Follow convention of imports at the top
Kim Alvefur <zash@zash.se> [Fri, 03 Dec 2021 08:21:29 +0100] rev 12003
mod_http_file_share: Keep track of total storage use across restarts
The value needs to be known in order to determine if additional uploads
can be accepted.
Kim Alvefur <zash@zash.se> [Fri, 03 Dec 2021 08:16:18 +0100] rev 12002
mod_http_file_share: Fix measuring total storage use before it was known
Passing nil to the metrics system causes errors later.