aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-10 17:42:18 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-10 17:42:18 +0100
commit3d97675cf4361d30dd541eff5b6b13c57cf36b80 (patch)
tree7a52f562628b71c79d62d55e74844272a48c65d6 /src/rspamd.c
parent19b347c030d09224c72c8c3eae76f2d8f6dd085c (diff)
downloadrspamd-3d97675cf4361d30dd541eff5b6b13c57cf36b80.tar.gz
rspamd-3d97675cf4361d30dd541eff5b6b13c57cf36b80.zip
[Project] Add preliminary support of the heartbeats
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index 458d3d083..808ca6aaa 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -1008,6 +1008,7 @@ rspamd_cld_handler (EV_P_ ev_child *w, struct rspamd_main *rspamd_main,
g_free (wrk->tmp_data);
}
ev_io_stop (rspamd_main->event_loop, &wrk->srv_ev);
+ ev_timer_stop (rspamd_main->event_loop, &wrk->hb.heartbeat_ev);
}
if (wrk->control_pipe[0] != -1) {