aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-08-23 20:31:14 +0200
committerKim Alvefur <zash@zash.se>2016-08-23 20:31:14 +0200
commitfeef5c41f1c29a5b157b60bbfd1e93bd9cc11e56 (patch)
tree8cf72f145d27f620f41f27315f4522989f913335 /net
parent1fdfd19e4f4717ab530e3a2166e65011f596165b (diff)
downloadprosody-feef5c41f1c29a5b157b60bbfd1e93bd9cc11e56.tar.gz
prosody-feef5c41f1c29a5b157b60bbfd1e93bd9cc11e56.zip
net.server_epoll: Remove commented out code
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index afc3f551..a5b06495 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -76,16 +76,6 @@ local function runtimers(next_delay)
resort_timers = false;
end
- --[[ Is it worth it to skip the noop calls?
- for i = #timers, 1, -1 do
- if timers[i][2] == noop then
- timers[i] = nil;
- else
- break;
- end
- end
- --]]
-
-- Iterate from the end and remove completed timers
for i = #timers, 1, -1 do
local timer = timers[i];