mod_log_mark/mod_log_mark.lua
author Kim Alvefur <zash@zash.se>
Wed, 03 Mar 2021 11:43:38 +0100
changeset 4494 cf2bdb2aaa57
parent 2178 7be158b3376f
permissions -rw-r--r--
mod_s2s_auth_dane: Disable now redundant validation done in trunk Outgoing connections can now be validated natively in trunk since a38f9e09ca31 so we only need to check incoming connections.

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);