util.prosodyctl.check: Suggest replacing 'use_libevent' with 'network_backend'
authorKim Alvefur <zash@zash.se>
Tue, 14 Sep 2021 14:19:05 +0200
changeset 11805 ab0dfe9cbe69
parent 11804 60018637f5d4
child 11806 3d411720e719
util.prosodyctl.check: Suggest replacing 'use_libevent' with 'network_backend' It's basically deprecated
util/prosodyctl/check.lua
--- a/util/prosodyctl/check.lua	Tue Sep 14 02:03:50 2021 +0200
+++ b/util/prosodyctl/check.lua	Tue Sep 14 14:19:05 2021 +0200
@@ -102,6 +102,7 @@
 			no_daemonize = "use the --daemonize/-D or --foreground/-F flags",
 			require_encryption = "use 'c2s_require_encryption' and 's2s_require_encryption'",
 			vcard_compatibility = "use 'mod_compat_vcard' from prosody-modules",
+			use_libevent = "use 'network_backend = \"event\"'",
 		};
 		-- FIXME all the singular _port and _interface options are supposed to be deprecated too
 		local deprecated_ports = { bosh = "http", legacy_ssl = "c2s_direct_tls" };
@@ -175,7 +176,6 @@
 			"use_dane",
 			"use_ipv4",
 			"use_ipv6",
-			"use_libevent",
 			"websocket_frame_buffer_limit",
 			"websocket_frame_fragment_limit",
 			"websocket_get_response_body",