aboutsummaryrefslogtreecommitdiffstats
path: root/util/throttle.lua
Commit message (Collapse)AuthorAgeFilesLines
* vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-281-0/+1
|
* util.throttle: Remove unused import of floor() [luacheck]Matthew Wild2017-09-261-1/+0
|
* util.throttle: Fix initial time setting (double accounting the first time) ↵Waqas Hussain2017-09-171-2/+2
| | | | and fractional balance updates (0.1*10 was not the same as 1*1)
* util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with ↵Kim Alvefur2017-03-201-1/+1
| | | | util.time for precision time
* util.*: Remove use of module() function, make all module functions local and ↵Kim Alvefur2015-02-211-3/+5
| | | | return them in a table at the end
* util.throttle: floor() internal balance calculationMatthew Wild2012-07-091-1/+2
|
* util.throttle: Fix 'outstanding' return valueMatthew Wild2012-01-131-1/+1
|
* util.throttle: Import setmetatableMatthew Wild2012-01-131-0/+1
|
* util.throttle: Generic module by waqas to limit something over some timeMatthew Wild2011-08-291-0/+44