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 | feef5c41f1c29a5b157b60bbfd1e93bd9cc11e56 (patch) | |
tree | 8cf72f145d27f620f41f27315f4522989f913335 | |
parent | 1fdfd19e4f4717ab530e3a2166e65011f596165b (diff) | |
download | prosody-feef5c41f1c29a5b157b60bbfd1e93bd9cc11e56.tar.gz prosody-feef5c41f1c29a5b157b60bbfd1e93bd9cc11e56.zip |
net.server_epoll: Remove commented out code
-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]; |