view mod_log_mark/mod_log_mark.lua @ 3495:5567098a7f91

mod_conversejs/README: Update text about mod_bosh and mod_websocket 2681f74750b2 made the text slightly misleading since either connection methods can be disabled
author Kim Alvefur <zash@zash.se>
date Sun, 24 Mar 2019 03:24:49 +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);