Software /
code /
prosody
Diff
util/statsd.lua @ 7988:dc758422d896
util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 20 Mar 2017 00:48:28 +0100 |
parent | 7701:672a863105f6 |
child | 10924:0c072dd69603 |
line wrap: on
line diff
--- a/util/statsd.lua Sat Mar 18 18:50:17 2017 +0100 +++ b/util/statsd.lua Mon Mar 20 00:48:28 2017 +0100 @@ -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