diff options
author | Kim Alvefur <zash@zash.se> | 2023-06-11 20:05:32 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-06-11 20:05:32 +0200 |
commit | 3efb1a72e7c85434bebbc3c3d72aa4008a4424ca (patch) | |
tree | 8d3eaf75151ca6733f7e4b3cdafd3288b750b1e4 /spec/util_human_io_spec.lua | |
parent | 5d6098bc1a1fc0121c4722f89d3acc13ca8475b6 (diff) | |
download | prosody-3efb1a72e7c85434bebbc3c3d72aa4008a4424ca.tar.gz prosody-3efb1a72e7c85434bebbc3c3d72aa4008a4424ca.zip |
mod_storage_sql: Do not keep track of quota when no quota is set
No point in doing this expensive O(n) query if the result is not used
for anything.
Will still cache the total item count if an explicit query for this is
performed, then try to keep it updated with new items added. Will likely
forget eventually tho.
Diffstat (limited to 'spec/util_human_io_spec.lua')
0 files changed, 0 insertions, 0 deletions