mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
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.
This commit is contained in:
parent
627df9737c
commit
6322b7c97e
2 changed files with 3 additions and 0 deletions
|
@ -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 = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue