util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time

This commit is contained in:
Kim Alvefur 2017-03-20 00:48:28 +01:00
parent 1dc92981c7
commit 83d1e9570a
4 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
local gettime = require "socket".gettime;
local gettime = require "util.time".now
local setmetatable = setmetatable;
local floor = math.floor;