diff util/pubsub.lua @ 11854:b605cbd5f13b

mod_pubsub,mod_pep: Implement 'send_last_published_item' option #1436 Default left as 'never' in mod_pubsub to preserve the previous behavior. Unclear if this is desirable, but can always be changed later. In mod_pep this allows turning off the automatic resending of most recent item.
author Kim Alvefur <zash@zash.se>
date Tue, 19 Oct 2021 18:11:50 +0200
parents 5610f7c5b261
children 26af75c20163
line wrap: on
line diff
--- a/util/pubsub.lua	Tue Oct 19 16:37:32 2021 +0200
+++ b/util/pubsub.lua	Tue Oct 19 18:11:50 2021 +0200
@@ -136,6 +136,7 @@
 	["max_items"] = 20;
 	["access_model"] = "open";
 	["publish_model"] = "publishers";
+	["send_last_published_item"] = "never";
 };
 local default_node_config_mt = { __index = default_node_config };