prosodyctl: Add 'limits' to known globals to warn about misplacing it
It will do nothing in a VirtualHost section for example.
--- 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();