Browse Source
add undocumented interval change to docs
pull/3160/head
Ben Humphrey
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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) |
|
|
|
*/ |
|
|
|
|