aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_rcl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-22 09:38:47 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-22 09:38:47 +0100
commit884a962a1ef82431b60ce66bc83416898db4ad24 (patch)
treef25b5f5f7d0a1c05f7dd5a76fe9ac11bf3cafe93 /src/libserver/cfg_rcl.c
parent261c54963d3e48834100180125a2a17e1759cb61 (diff)
downloadrspamd-884a962a1ef82431b60ce66bc83416898db4ad24.tar.gz
rspamd-884a962a1ef82431b60ce66bc83416898db4ad24.zip
[Project] More work towards heartbeating logic implementation
Diffstat (limited to 'src/libserver/cfg_rcl.c')
-rw-r--r--src/libserver/cfg_rcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index 11c378d5d..86d674c08 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -2191,7 +2191,7 @@ rspamd_rcl_config_init (struct rspamd_config *cfg, GHashTable *skip_sections)
rspamd_rcl_add_default_handler (sub,
"heartbeats_loss_max",
rspamd_rcl_parse_struct_integer,
- G_STRUCT_OFFSET (struct rspamd_config, heartbeat_interval),
+ G_STRUCT_OFFSET (struct rspamd_config, heartbeats_loss_max),
RSPAMD_CL_FLAG_INT_32,
"Maximum count of heartbeats to be lost before trying to "
"terminate a worker (default: 0 - disabled)");