aboutsummaryrefslogtreecommitdiffstats
path: root/tools/jabberd14sql2prosody.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-06-11 20:05:32 +0200
committerKim Alvefur <zash@zash.se>2023-06-11 20:05:32 +0200
commit3efb1a72e7c85434bebbc3c3d72aa4008a4424ca (patch)
tree8d3eaf75151ca6733f7e4b3cdafd3288b750b1e4 /tools/jabberd14sql2prosody.lua
parent5d6098bc1a1fc0121c4722f89d3acc13ca8475b6 (diff)
downloadprosody-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 'tools/jabberd14sql2prosody.lua')
0 files changed, 0 insertions, 0 deletions