Software /
code /
prosody
File
util/time.lua @ 8752:8f2da579a790
mod_bosh: Increase number of stored responses to ensure we always keep responses within the rid window available
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 11 Apr 2018 13:24:37 +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; }