prosodyctl: Add 'limits' to known globals to warn about misplacing it 0.11
authorKim Alvefur <zash@zash.se>
Thu, 27 May 2021 12:35:55 +0200
branch0.11
changeset 11590 35e880501efd
parent 11570 6e67872bcba4
child 11591 ce7c52a6d650
child 11653 aa119de5f6c7
prosodyctl: Add 'limits' to known globals to warn about misplacing it It will do nothing in a VirtualHost section for example.
prosodyctl
--- a/prosodyctl	Sun May 16 16:14:23 2021 +0200
+++ b/prosodyctl	Thu May 27 12:35:55 2021 +0200
@@ -841,7 +841,7 @@
 		local known_global_options = set.new({
 			"pidfile", "log", "plugin_paths", "prosody_user", "prosody_group", "daemonize",
 			"umask", "prosodyctl_timeout", "use_ipv6", "use_libevent", "network_settings",
-			"network_backend", "http_default_host", "gc",
+			"network_backend", "http_default_host", "gc", "limits",
 			"statistics_interval", "statistics", "statistics_config",
 		});
 		local config = configmanager.getconfig();