server.lua

changeset 492
22844ac3be4e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/server.lua	Wed Jun 21 12:21:09 2023 +0200
@@ -0,0 +1,5 @@
+local have_epoll, server_epoll = pcall(require, "prosody.net.server_epoll");
+if have_epoll then return server_epoll; end
+
+local server_select = require "prosody.net.server_select";
+return server_select;

mercurial