Mercurial > prosody-hg
view util/time.lua @ 8298:dd9fa511494a
mod_pubsub: Add method to clear data from a simple_itemstore
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 08 Oct 2017 01:28:32 +0200 |
| parents | 72e48bddf617 |
| children |
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; }
