diff options
author | Matthew Wild <mwild1@gmail.com> | 2025-02-15 17:13:23 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2025-02-15 17:13:23 +0000 |
commit | 1b8170a1d26f390fe63ee15ef12b7e5fb63ba693 (patch) | |
tree | 48e6758d062a655c0161fcc0c7ab89d51ae6fcda /plugins | |
parent | 8a12586fc7a55d48a8aec00e970094b84427d2b7 (diff) | |
parent | 9bae17a0bb56e92299ea4d7062c5594b60b0e544 (diff) | |
download | prosody-1b8170a1d26f390fe63ee15ef12b7e5fb63ba693.tar.gz prosody-1b8170a1d26f390fe63ee15ef12b7e5fb63ba693.zip |
Merge 13.0->trunk
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_http_file_share.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_http_file_share.lua b/plugins/mod_http_file_share.lua index 48972067..705420d0 100644 --- a/plugins/mod_http_file_share.lua +++ b/plugins/mod_http_file_share.lua @@ -224,6 +224,7 @@ function handle_slot_request(event) 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); |