diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-22 09:38:47 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-22 09:38:47 +0100 |
commit | 884a962a1ef82431b60ce66bc83416898db4ad24 (patch) | |
tree | f25b5f5f7d0a1c05f7dd5a76fe9ac11bf3cafe93 /src/rspamd.h | |
parent | 261c54963d3e48834100180125a2a17e1759cb61 (diff) | |
download | rspamd-884a962a1ef82431b60ce66bc83416898db4ad24.tar.gz rspamd-884a962a1ef82431b60ce66bc83416898db4ad24.zip |
[Project] More work towards heartbeating logic implementation
Diffstat (limited to 'src/rspamd.h')
-rw-r--r-- | src/rspamd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rspamd.h b/src/rspamd.h index 3cd6c391b..d32681359 100644 --- a/src/rspamd.h +++ b/src/rspamd.h @@ -78,8 +78,8 @@ typedef void (*rspamd_worker_term_cb) (EV_P_ ev_child *, struct rspamd_main *, struct rspamd_worker_heartbeat { ev_timer heartbeat_ev; /**< used by main for checking heartbeats and by workers to send heartbeats */ - ev_tstamp last_event; - gint64 nbeats; /* positive for beats received, negative for beats missed */ + ev_tstamp last_event; /**< last heartbeat received timestamp */ + gint64 nbeats; /**< positive for beats received, negative for beats missed */ }; /** |