aboutsummaryrefslogtreecommitdiffstats
path: root/util/timer.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-01-08 21:57:19 +0100
committerKim Alvefur <zash@zash.se>2021-01-08 21:57:19 +0100
commit861e5125c7e8fcb92cd7d00c5a3ebbfa8f149933 (patch)
treee31c0754b596fe524b5774be0661dd448ca7e26d /util/timer.lua
parent7f7ec9e1ed494832de1626a120ebc293ce3e1313 (diff)
downloadprosody-861e5125c7e8fcb92cd7d00c5a3ebbfa8f149933.tar.gz
prosody-861e5125c7e8fcb92cd7d00c5a3ebbfa8f149933.zip
net.server_epoll: Ensure timers can't run more than once per tick
This makes sure that a timer that returns 0 (or less) does not prevent runtimers() from completing, as well as making sure a timer added with zero timeout from within a timer does not run until the next tick. Thanks tmolitor
Diffstat (limited to 'util/timer.lua')
0 files changed, 0 insertions, 0 deletions