aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-11-19 00:31:21 +0100
committerKim Alvefur <zash@zash.se>2024-11-19 00:31:21 +0100
commitff00c6707ffaa8f176c1675548f33f975af743e1 (patch)
tree95ff0b311ac631b49d701f3243a166cbf88268cc /net
parent885fde62be7244c5b2c978c97dcac0e80a1c9450 (diff)
downloadprosody-ff00c6707ffaa8f176c1675548f33f975af743e1.tar.gz
prosody-ff00c6707ffaa8f176c1675548f33f975af743e1.zip
net.server_epoll: Revert opportunistic_writes tweak
Added in f0b2c026e542 and not sure why
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua3
1 files changed, 0 insertions, 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