Fri, 03 Dec 2021 08:21:29 +0100 mod_http_file_share: Keep track of total storage use across restarts
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.
Fri, 03 Dec 2021 08:16:18 +0100 mod_http_file_share: Fix measuring total storage use before it was known
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.
Fri, 03 Dec 2021 01:02:02 +0100 mod_smacks: Refactor, simplify, optimize
Kim Alvefur <zash@zash.se> [Fri, 03 Dec 2021 01:02:02 +0100] rev 12001
mod_smacks: Refactor, simplify, optimize Since reply.attr.to will be the .attr.from of the input we can check this earlier and avoid constructing the reply at all.
Fri, 03 Dec 2021 00:59:23 +0100 mod_smacks: Use function to construct error reply
Kim Alvefur <zash@zash.se> [Fri, 03 Dec 2021 00:59:23 +0100] rev 12000
mod_smacks: Use function to construct error reply Did error_reply() not exist when mod_smacks was first created?
Fri, 03 Dec 2021 00:11:31 +0100 mod_cron: Initialize daily tasks so they run around midnight UTC
Kim Alvefur <zash@zash.se> [Fri, 03 Dec 2021 00:11:31 +0100] rev 11999
mod_cron: Initialize daily tasks so they run around midnight UTC Eventually the goal is to have daily tasks run while there is little activity, but that will vary with the server and the usage patterns of its users. This is a start anyway.
Tue, 30 Nov 2021 00:55:54 +0100 mod_http_file_share: Keep global storage use accurate longer.
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.
Tue, 30 Nov 2021 00:53:22 +0100 mod_http_file_share: Merge file expiry loops
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.
Tue, 30 Nov 2021 00:52:07 +0100 mod_http_file_share: Limit query to time since last expiry
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.
Mon, 22 Nov 2021 19:07:56 +0100 mod_admin_shell: List periodic tasks in module:info
Kim Alvefur <zash@zash.se> [Mon, 22 Nov 2021 19:07:56 +0100] rev 11995
mod_admin_shell: List periodic tasks in module:info
Mon, 22 Nov 2021 14:54:32 +0100 mod_http_file_share: Switch to mod_cron for periodic tasks
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
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip