diff options
author | Kim Alvefur <zash@zash.se> | 2021-03-31 09:43:05 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-03-31 09:43:05 +0200 |
commit | d8613bb7b96e780938a522c6d44d8718ca8d9122 (patch) | |
tree | 51174e7334270ae0b3f94a6e7618fe082aab6844 /plugins | |
parent | 29a56e7747f3039119abf41bdc70e8f93da20a83 (diff) | |
download | prosody-d8613bb7b96e780938a522c6d44d8718ca8d9122.tar.gz prosody-d8613bb7b96e780938a522c6d44d8718ca8d9122.zip |
mod_http_file_share: Include storage in prune time measurement
Maybe the original idea was that you would measure storage separately?
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_http_file_share.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http_file_share.lua b/plugins/mod_http_file_share.lua index af9cc937..c71639ab 100644 --- a/plugins/mod_http_file_share.lua +++ b/plugins/mod_http_file_share.lua @@ -384,8 +384,8 @@ if expiry >= 0 and not external_base_url then end local reaper_task = async.runner(function(boundary_time) - local iter, total = assert(uploads:find(nil, {["end"] = boundary_time; total = true})); local prune_done = module:measure("prune", "times"); + local iter, total = assert(uploads:find(nil, {["end"] = boundary_time; total = true})); if total == 0 then module:log("info", "No expired uploaded files to prune"); |