aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Humphrey <44178664+cxmplex@users.noreply.github.com>2019-11-22 10:59:26 -0500
committerGitHub <noreply@github.com>2019-11-22 10:59:26 -0500
commitaf2111f87cd8b772a7d7ec3f35b4f2de9f24d754 (patch)
tree263e134cc8113036ad7d86fa599f4614726b72a5
parent2eff88401aaac1a94a6e97ffdfdd1aaa7f53c041 (diff)
downloadrspamd-af2111f87cd8b772a7d7ec3f35b4f2de9f24d754.tar.gz
rspamd-af2111f87cd8b772a7d7ec3f35b4f2de9f24d754.zip
add undocumented interval change to docs
-rw-r--r--src/lua/lua_config.c2
1 files changed, 1 insertions, 1 deletions
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)
*/