# HG changeset patch # User Kim Alvefur # Date 1630683540 -7200 # Node ID e273ef869794b8f29ca3c615356ddb72f1fda3f7 # Parent 54530085dffe8e491e374c67451663bed74bb19e net.server: Pikc server_epoll as unconditional default Previously it would have gone for server_select if util.poll was for some reason not available, which should be never these days. And even if it was, best to flush it out by throwing loud errors so users notice. Then they can work around it by using select until we delete that one. diff -r 54530085dffe -r e273ef869794 net/server.lua --- a/net/server.lua Fri Sep 03 17:35:34 2021 +0200 +++ b/net/server.lua Fri Sep 03 17:39:00 2021 +0200 @@ -14,8 +14,7 @@ local log = require "util.logger".init("net.server"); -local have_util_poll = pcall(require, "util.poll"); -local default_backend = have_util_poll and "epoll" or "select"; +local default_backend = "epoll"; local server_type = require "core.configmanager".get("*", "network_backend") or default_backend;