Software /
code /
prosody
File
util/time.lua @ 8263:9b52b1f19b51
net.dns: Correctly apply lower bound of RTT (thanks Ge0rG)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 24 Sep 2017 01:04:56 +0200 |
parent | 7461:72e48bddf617 |
line wrap: on
line source
-- Import gettime() from LuaSocket, as a way to access high-resolution time -- in a platform-independent way local socket_gettime = require "socket".gettime; return { now = socket_gettime; }