Software /
code /
prosody
File
util/time.lua @ 8692:a55574754e5f
configmanager: Move firing of the 'config-reloaded' event into util.startup (fixes #1117)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 25 Mar 2018 17:02:00 +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; }