plugins/mod_pep.lua
changeset 11860 14a679588b7b
parent 11858 b605cbd5f13b
child 12026 eedd3eff0768
--- a/plugins/mod_pep.lua	Wed Oct 20 17:31:24 2021 +0200
+++ b/plugins/mod_pep.lua	Wed Oct 20 17:32:34 2021 +0200
@@ -41,6 +41,13 @@
 	return tonumber(n);
 end
 
+for _, field in ipairs(lib_pubsub.node_config_form) do
+	if field.var == "pubsub#max_items" then
+		field.range_max = max_max_items;
+		break;
+	end
+end
+
 function module.save()
 	return {
 		services = services;