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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue