mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_storage_internal: Use integer option method for cache size
Missed this one in previous sweep
This commit is contained in:
parent
8a2c386e95
commit
41ea0ee4a4
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ local it = require "prosody.util.iterators";
|
|||
local host = module.host;
|
||||
|
||||
local archive_item_limit = module:get_option_integer("storage_archive_item_limit", 10000, 0);
|
||||
local archive_item_count_cache = cache.new(module:get_option("storage_archive_item_limit_cache_size", 1000));
|
||||
local archive_item_count_cache = cache.new(module:get_option_integer("storage_archive_item_limit_cache_size", 1000, 1));
|
||||
|
||||
local use_shift = module:get_option_boolean("storage_archive_experimental_fast_delete", false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue