Changeset

13714:7205da981fc2

Merge 13.0->trunk
author Matthew Wild <mwild1@gmail.com>
date Sat, 15 Feb 2025 17:13:23 +0000
parents 13712:32b5a3667ebb (current diff) 13713:4a687745bb51 (diff)
children 13716:953108962cd0
files
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_http_file_share.lua	Sat Feb 15 16:48:45 2025 +0000
+++ b/plugins/mod_http_file_share.lua	Sat Feb 15 17:13:23 2025 +0000
@@ -224,6 +224,7 @@
 	end
 
 	total_storage_usage = total_storage_usage + filesize;
+	persist_stats:set(nil, "total", total_storage_usage);
 	module:log("debug", "Total storage usage: %s / %s", B(total_storage_usage), B(total_storage_limit));
 
 	local cached_quota = quota_cache:get(uploader);