# HG changeset patch # User Kim Alvefur # Date 1617176585 -7200 # Node ID 8bf632540197dd700416ffeb7e9c33ced12ebea3 # Parent 6d3f8414872912db4f032b896390540d94531112 mod_http_file_share: Include storage in prune time measurement Maybe the original idea was that you would measure storage separately? diff -r 6d3f84148729 -r 8bf632540197 plugins/mod_http_file_share.lua --- a/plugins/mod_http_file_share.lua Sun Mar 28 15:57:15 2021 +0200 +++ b/plugins/mod_http_file_share.lua Wed Mar 31 09:43:05 2021 +0200 @@ -384,8 +384,8 @@ end local reaper_task = async.runner(function(boundary_time) + local prune_done = module:measure("prune", "times"); local iter, total = assert(uploads:find(nil, {["end"] = boundary_time; total = true})); - local prune_done = module:measure("prune", "times"); if total == 0 then module:log("info", "No expired uploaded files to prune");