# HG changeset patch # User Kim Alvefur # Date 1630684015 -7200 # Node ID e2650d59db2d854532c30d81985adbfaf11ae384 # Parent e273ef869794b8f29ca3c615356ddb72f1fda3f7 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. diff -r e273ef869794 -r e2650d59db2d CHANGES --- a/CHANGES Fri Sep 03 17:39:00 2021 +0200 +++ b/CHANGES Fri Sep 03 17:46:55 2021 +0200 @@ -28,6 +28,7 @@ - Statistics now based on OpenMetrics - Direct TLS support - Offline messages aren't sent to MAM clients +- Network backend server_select deprecated 0.11.0 ====== diff -r e273ef869794 -r e2650d59db2d net/server.lua --- a/net/server.lua Fri Sep 03 17:39:00 2021 +0200 +++ b/net/server.lua Fri Sep 03 17:46:55 2021 +0200 @@ -59,6 +59,8 @@ 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 = {};