From: Ben Humphrey <44178664+cxmplex@users.noreply.github.com> Date: Fri, 22 Nov 2019 15:59:26 +0000 (-0500) Subject: add undocumented interval change to docs X-Git-Tag: 2.3~310^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3160%2Fhead;p=thirdparty%2Frspamd.git add undocumented interval change to docs --- diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c index 9a2d2f55d5..34bba58362 100644 --- a/src/lua/lua_config.c +++ b/src/lua/lua_config.c @@ -578,7 +578,7 @@ rspamd_config:add_on_load(function(cfg, ev_base) rspamd_config:add_periodic(ev_base, 1.0, function(cfg, ev_base) local logger = require "rspamd_logger" logger.infox(cfg, "periodic function") - return true -- if return false, then the periodic event is removed + return true -- if return numeric, a new interval is set. if return false, then the periodic event is removed end) end) */