aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-03-22 02:04:34 +0100
committerKim Alvefur <zash@zash.se>2019-03-22 02:04:34 +0100
commit92595546031e1f8a6222e9e164f8cca45e949bdf (patch)
tree150da806404da219473d4b94eea8c93334d831c2
parentd1ad7d498828b48d2a2477319083227b91b5441d (diff)
downloadprosody-92595546031e1f8a6222e9e164f8cca45e949bdf.tar.gz
prosody-92595546031e1f8a6222e9e164f8cca45e949bdf.zip
mod_storage_internal: Increase default quota to 10 000
Performance doesn't seem great but 10k should be far enough from limits inherited by the Lua parser. 1000 messages seemed pretty close to what an active user might produce in one week.
-rw-r--r--plugins/mod_storage_internal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_internal.lua b/plugins/mod_storage_internal.lua
index 52ca4da8..cb88f10f 100644
--- a/plugins/mod_storage_internal.lua
+++ b/plugins/mod_storage_internal.lua
@@ -9,7 +9,7 @@ local jid_join = require "util.jid".join;
local host = module.host;
-local archive_item_limit = module:get_option_number("storage_archive_item_limit", 1000);
+local archive_item_limit = module:get_option_number("storage_archive_item_limit", 10000);
local archive_item_count_cache = cache.new(module:get_option("storage_archive_item_limit_cache_size", 1000));
local driver = {};