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 | 2200724140d472766c3e78bab761f9cbce97b020 (patch) | |
tree | baa76027e2950ac788347cbda919e81abc010108 /util/statsd.lua | |
parent | fb586ecffc730c4ab451936d4172086e673c931e (diff) | |
download | prosody-2200724140d472766c3e78bab761f9cbce97b020.tar.gz prosody-2200724140d472766c3e78bab761f9cbce97b020.zip |
util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time
Diffstat (limited to 'util/statsd.lua')
-rw-r--r-- | util/statsd.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/statsd.lua b/util/statsd.lua index e5322de9..67481c36 100644 --- a/util/statsd.lua +++ b/util/statsd.lua @@ -1,6 +1,6 @@ local socket = require "socket"; -local time = require "socket".gettime; +local time = require "util.time".now local function new(config) if not config or not config.statsd_server then |