Software /
code /
prosody
File
plugins/mod_unknown.lua @ 11262:2c559953ad41 0.11
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
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 08 Jan 2021 21:57:19 +0100 |
parent | 6003:28a90f5fea46 |
line wrap: on
line source
-- Unknown platform stub module:set_global(); -- TODO Do things that make sense if we don't know about the platform