diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-20 00:48:28 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-20 00:48:28 +0100 |
commit | 83d1e9570a93cbea53e0420ada95e7273695fe78 (patch) | |
tree | baa76027e2950ac788347cbda919e81abc010108 /util/throttle.lua | |
parent | 1dc92981c7d2fab06d8e59814ad4f0710c34ef28 (diff) | |
download | prosody-83d1e9570a93cbea53e0420ada95e7273695fe78.tar.gz prosody-83d1e9570a93cbea53e0420ada95e7273695fe78.zip |
util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time
Diffstat (limited to 'util/throttle.lua')
-rw-r--r-- | util/throttle.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/throttle.lua b/util/throttle.lua index 3d3f5d2d..18692a8a 100644 --- a/util/throttle.lua +++ b/util/throttle.lua @@ -1,5 +1,5 @@ -local gettime = require "socket".gettime; +local gettime = require "util.time".now local setmetatable = setmetatable; local floor = math.floor; |