aboutsummaryrefslogtreecommitdiffstats
path: root/tools/erlparse.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-09-12 01:38:33 +0200
committerKim Alvefur <zash@zash.se>2021-09-12 01:38:33 +0200
commitae7f6c34f0b2f00c616102a7c5fa3a9fe0ed9541 (patch)
tree4c56ff10f957c2a6f7ed0931384dadb1ca48b311 /tools/erlparse.lua
parent97aa610a42dd563d6e23c84de13550997f036cd6 (diff)
downloadprosody-ae7f6c34f0b2f00c616102a7c5fa3a9fe0ed9541.tar.gz
prosody-ae7f6c34f0b2f00c616102a7c5fa3a9fe0ed9541.zip
mod_http_file_share: Add optional global quota on total storage usage
Before, maximum storage usage (assuming all users upload as much as they could) would depend on the quota, retention period and number of users. Since number of users can vary, this makes it hard to know how much storage will be needed. Adding a limit to the total overall storage use solves this, making it simple to set it to some number based on what storage is actually available. Summary job run less often than the prune job since it touches the entire archive; and started before the prune job since it's needed before the first upload.
Diffstat (limited to 'tools/erlparse.lua')
0 files changed, 0 insertions, 0 deletions