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/timer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/timer.lua') diff --git a/util/timer.lua b/util/timer.lua index 3713625d..7e2e9414 100644 --- a/util/timer.lua +++ b/util/timer.lua @@ -9,7 +9,7 @@ local server = require "net.server"; local math_min = math.min local math_huge = math.huge -local get_time = require "socket".gettime; +local get_time = require "util.time".now local t_insert = table.insert; local pairs = pairs; local type = type; -- cgit v1.2.3