aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
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
commita02b2b7661cefc2ed06847c8909afb0c9b05f662 (patch)
tree8cf72f145d27f620f41f27315f4522989f913335 /net/server_epoll.lua
parent03d11415030b1f36e80b06a00ab7b0d4117992df (diff)
downloadprosody-a02b2b7661cefc2ed06847c8909afb0c9b05f662.tar.gz
prosody-a02b2b7661cefc2ed06847c8909afb0c9b05f662.zip
net.server_epoll: Remove commented out code
Diffstat (limited to 'net/server_epoll.lua')
-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];