diff options
author | Kim Alvefur <zash@zash.se> | 2021-01-08 21:57:19 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-01-08 21:57:19 +0100 |
commit | 1bf1a1ba69271ee169e6766d56dbef66aa980830 (patch) | |
tree | e31c0754b596fe524b5774be0661dd448ca7e26d /util/indexedbheap.lua | |
parent | 24e57b75900452b4172d666e9eee3592265cfcd6 (diff) | |
download | prosody-1bf1a1ba69271ee169e6766d56dbef66aa980830.tar.gz prosody-1bf1a1ba69271ee169e6766d56dbef66aa980830.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/indexedbheap.lua')
0 files changed, 0 insertions, 0 deletions