Diff

plugins/mod_storage_internal.lua @ 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
parent 9885:64e16d1e91f6
child 9895:6bd65bff03b5
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 = {};