Diff

prosodyctl @ 11586:35e880501efd 0.11

prosodyctl: Add 'limits' to known globals to warn about misplacing it It will do nothing in a VirtualHost section for example.
author Kim Alvefur <zash@zash.se>
date Thu, 27 May 2021 12:35:55 +0200
parent 11552:d4b735272a61
child 11587:ce7c52a6d650
child 11809:49cfd3628d9d
line wrap: on
line diff
--- 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();