Log

util/throttle.lua @ 13270:14bbfb2cc8dd default tip

description author age
util: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:16 +0100
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
util.throttle: Remove unused import of floor() [luacheck] Matthew Wild Tue, 26 Sep 2017 18:30:34 +0100
util.throttle: Fix initial time setting (double accounting the first time) and fractional balance updates (0.1*10 was not the same as 1*1) Waqas Hussain Sun, 17 Sep 2017 13:29:14 -0400
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.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur Sat, 21 Feb 2015 10:36:37 +0100
util.throttle: floor() internal balance calculation Matthew Wild Mon, 09 Jul 2012 02:35:47 +0100
util.throttle: Fix 'outstanding' return value Matthew Wild Fri, 13 Jan 2012 23:30:32 +0000
util.throttle: Import setmetatable Matthew Wild Fri, 13 Jan 2012 23:30:00 +0000
util.throttle: Generic module by waqas to limit something over some time Matthew Wild Mon, 29 Aug 2011 13:00:33 -0400