diff options
author | Kim Alvefur <zash@zash.se> | 2016-08-23 20:31:14 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-08-23 20:31:14 +0200 |
commit | a02b2b7661cefc2ed06847c8909afb0c9b05f662 (patch) | |
tree | 8cf72f145d27f620f41f27315f4522989f913335 /net | |
parent | 03d11415030b1f36e80b06a00ab7b0d4117992df (diff) | |
download | prosody-a02b2b7661cefc2ed06847c8909afb0c9b05f662.tar.gz prosody-a02b2b7661cefc2ed06847c8909afb0c9b05f662.zip |
net.server_epoll: Remove commented out code
Diffstat (limited to 'net')
-rw-r--r-- | net/server_epoll.lua | 10 |
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]; |