Changeset

9888:5669bb11ac7b

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.
author Kim Alvefur <zash@zash.se>
date Fri, 22 Mar 2019 02:04:34 +0100
parents 9887:69f810014853
children 9889:e3ad2c845431
files plugins/mod_storage_internal.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_storage_internal.lua	Wed Mar 20 12:14:45 2019 +0100
+++ b/plugins/mod_storage_internal.lua	Fri Mar 22 02:04:34 2019 +0100
@@ -9,7 +9,7 @@
 
 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 = {};