Software /
code /
prosody
Changeset
11764:e2650d59db2d
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 03 Sep 2021 17:46:55 +0200 |
parents | 11763:e273ef869794 |
children | 11765:1cac469b18d0 |
files | CHANGES net/server.lua |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 ======
--- 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 = {};