Mercurial > prosody-modules
view mod_log_mark/mod_log_mark.lua @ 4413:0b9501f82e63
mod_smacks: allow O(1) processing of delayed ack events
This adds a stanza field to the eent if the stanza which triggered this event
is known exactly.
| author | tmolitor <thilo@eightysoft.de> |
|---|---|
| date | Sat, 30 Jan 2021 07:19:35 +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);
