Mercurial > prosody-modules
view mod_log_mark/mod_log_mark.lua @ 2788:512405077709
mod_measure_stanza_counts: Fix a crash in mod_bosh.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 09 Oct 2017 19:22:39 +0100 |
parents | 7be158b3376f |
children |
line wrap: on
line source
module:set_global(); local log = _G.log; module:add_timer(60-os.date("%S"), function (now) log("info", "-- MARK --"); return 90 - ((now + 30) % 60); end);