From 2200724140d472766c3e78bab761f9cbce97b020 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 20 Mar 2017 00:48:28 +0100 Subject: util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time --- util/statistics.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/statistics.lua') diff --git a/util/statistics.lua b/util/statistics.lua index 26355026..39954652 100644 --- a/util/statistics.lua +++ b/util/statistics.lua @@ -1,6 +1,6 @@ local t_sort = table.sort local m_floor = math.floor; -local time = require "socket".gettime; +local time = require "util.time".now; local function nop_function() end -- cgit v1.2.3