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
commitc4b5bfdc5f2da4cdbe085a5a95c6418f802ec56e (patch)
tree150da806404da219473d4b94eea8c93334d831c2
parent0681ffe60631d573ad8529de7eaa187cb21a20b1 (diff)
downloadprosody-c4b5bfdc5f2da4cdbe085a5a95c6418f802ec56e.tar.gz
prosody-c4b5bfdc5f2da4cdbe085a5a95c6418f802ec56e.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 = {};