Comparison

plugins/mod_pubsub/mod_pubsub.lua @ 12153:26af75c20163

util.pubsub: Fix item store resize to "max" Previously this would end up passing the "max" directly to the underlying storage.
author Kim Alvefur <zash@zash.se>
date Thu, 06 Jan 2022 01:18:35 +0100
parent 12021:376522fb3f52
child 12212:bc6fc1cb04ae
comparison
equal deleted inserted replaced
12152:0939675955f1 12153:26af75c20163
222 expose_publisher = expose_publisher; 222 expose_publisher = expose_publisher;
223 223
224 node_defaults = { 224 node_defaults = {
225 ["persist_items"] = true; 225 ["persist_items"] = true;
226 }; 226 };
227 max_items = max_max_items;
227 nodestore = node_store; 228 nodestore = node_store;
228 itemstore = create_simple_itemstore; 229 itemstore = create_simple_itemstore;
229 broadcaster = simple_broadcast; 230 broadcaster = simple_broadcast;
230 itemcheck = is_item_stanza; 231 itemcheck = is_item_stanza;
231 check_node_config = check_node_config; 232 check_node_config = check_node_config;