From 8a97d634a4c5c5d046424c227a4b26bb9f486481 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 6 Jan 2022 01:18:35 +0100 Subject: util.pubsub: Fix item store resize to "max" Previously this would end up passing the "max" directly to the underlying storage. --- plugins/mod_pubsub/mod_pubsub.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/mod_pubsub') diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua index be460f72..4af16a6f 100644 --- a/plugins/mod_pubsub/mod_pubsub.lua +++ b/plugins/mod_pubsub/mod_pubsub.lua @@ -224,6 +224,7 @@ function module.load() node_defaults = { ["persist_items"] = true; }; + max_items = max_max_items; nodestore = node_store; itemstore = create_simple_itemstore; broadcaster = simple_broadcast; -- cgit v1.2.3