Mercurial > prosody-hg
diff net/server.lua @ 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 | e273ef869794 |
| children | 2ee27587fec7 |
line wrap: on
line diff
--- 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 = {};
