Software / code / prosody
File
util/time.lua @ 8380:a597ff326758
util.sql: Discard useless substitution count from string.gsub in SQL debug logs
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 08 Nov 2017 10:45:58 +0100 |
| 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; }