From ff00c6707ffaa8f176c1675548f33f975af743e1 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 19 Nov 2024 00:31:21 +0100 Subject: net.server_epoll: Revert opportunistic_writes tweak Added in f0b2c026e542 and not sure why --- net/server_epoll.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/server_epoll.lua b/net/server_epoll.lua index 24678842..ce2782c1 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -973,9 +973,6 @@ function interface:resume_writes() self:noise("Resume writes"); self._write_lock = nil; if self.writebuffer and #self.writebuffer ~= 0 then - if cfg.opportunistic_writes then - return self:onwritable(); - end self:setwritetimeout(); self:set(nil, true); end -- cgit v1.2.3