From 6322b7c97e007cc563a29863d5a433a3141bd4ca Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 3 Sep 2021 17:46:55 +0200 Subject: net.server_select: Deprecate and warn about it To be removed in the future, but not right now. Give the log warning a chance to prod anyone who might have network_backend="select" in their config first. There's also things built on Verse which uses server_select.lua, which will need to be updated somehow. --- net/server.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net') diff --git a/net/server.lua b/net/server.lua index 460fe2d5..0696fd52 100644 --- a/net/server.lua +++ b/net/server.lua @@ -59,6 +59,8 @@ if server_type == "event" then end end elseif server_type == "select" then + -- TODO Remove completely. + log("warn", "select is deprecated, the new default is epoll. For more info see https://prosody.im/doc/network_backend"); server = require "net.server_select"; local defaults = {}; -- cgit v1.2.3