Log

util/timer.lua @ 13246:2e04d54fb013

description author age
util: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:16 +0100
Merge 0.11->trunk Kim Alvefur Fri, 08 Jan 2021 23:56:27 +0100
util.timer: Ensure timers can't run more than once per tick (fixes #1620) 0.11 Kim Alvefur Fri, 08 Jan 2021 23:23:56 +0100
util.timer: Defer to selected net.server if it implements this API Kim Alvefur Mon, 29 Jun 2020 16:37:58 +0200
Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall Matthew Wild Fri, 26 Oct 2018 19:32:00 +0100
util.{async,timer}: Move sleep() to reduce dependencies of util.timer Kim Alvefur Sun, 08 Jul 2018 00:37:01 +0200
util.timer: Ensure we don't try to schedule negative timeouts (which rightly upset libevent). Fixes #1135 Matthew Wild Sun, 29 Apr 2018 21:43:39 +0100
util.timer: Move sleep() here from util.async Kim Alvefur Fri, 23 Mar 2018 21:18:15 +0100
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
Merge 0.10->trunk Kim Alvefur Mon, 20 Mar 2017 03:11:27 +0100
util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time Kim Alvefur Mon, 20 Mar 2017 00:48:28 +0100
util.timer: Reschedule timers from stop() if the next pending event is stopped Kim Alvefur Wed, 23 Dec 2015 11:43:39 +0100
util.timer: If possible, close the existing timer handle in order to have only one Kim Alvefur Sun, 22 Nov 2015 17:25:44 +0100
util.timer: Expire timer instance if another instance is already set to take care of the next scheduled event Kim Alvefur Sun, 22 Nov 2015 17:20:20 +0100
util.timer: Keep count of how many timer instances are active Kim Alvefur Sun, 22 Nov 2015 17:18:29 +0100