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: https://source.dussan.org/?a=commitdiff_plain;h=af2111f87cd8b772a7d7ec3f35b4f2de9f24d754;p=rspamd.git add undocumented interval change to docs --- diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c index 9a2d2f55d..34bba5836 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) */