From 83d1e9570a93cbea53e0420ada95e7273695fe78 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/throttle.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/throttle.lua') 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; -- cgit v1.2.3