mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time
This commit is contained in:
parent
1dc92981c7
commit
83d1e9570a
4 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
|
||||
local gettime = require "socket".gettime;
|
||||
local gettime = require "util.time".now
|
||||
local setmetatable = setmetatable;
|
||||
local floor = math.floor;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue