diff options
author | Kim Alvefur <zash@zash.se> | 2021-05-27 12:35:55 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-05-27 12:35:55 +0200 |
commit | 13c5a2359d83818bfeae08b757c53fd34ed05ad8 (patch) | |
tree | 51ac3ac1646a3ea583c27218c742c87ed31f4dc5 | |
parent | 0c6f17043f100150629d9b4c9c27a3489958f67c (diff) | |
download | prosody-13c5a2359d83818bfeae08b757c53fd34ed05ad8.tar.gz prosody-13c5a2359d83818bfeae08b757c53fd34ed05ad8.zip |
prosodyctl: Add 'limits' to known globals to warn about misplacing it
It will do nothing in a VirtualHost section for example.
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -841,7 +841,7 @@ function commands.check(arg) 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(); |