Browse Source

add undocumented interval change to docs

pull/3160/head
Ben Humphrey 6 years ago
committed by GitHub
parent
commit
af2111f87c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/lua/lua_config.c

2
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)
*/

Loading…
Cancel
Save