aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-15 21:38:24 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-22 10:57:29 +0100
commitbb3a48e42835fdbb456fdf0d0f74050fa61ff7d5 (patch)
tree5ae2c5ea8e42018b388ecfbe60631108b952d74f /src/libserver/task.h
parenta66237597ec9de929d4a323a7d9fa6e7d900eb87 (diff)
downloadrspamd-bb3a48e42835fdbb456fdf0d0f74050fa61ff7d5.tar.gz
rspamd-bb3a48e42835fdbb456fdf0d0f74050fa61ff7d5.zip
[Project] Refactor more, use ev_stat for cdb watching
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index 736644126..ca42da6b3 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -200,8 +200,8 @@ struct rspamd_task {
struct rspamd_dns_resolver *resolver; /**< DNS resolver */
struct ev_loop *event_loop; /**< Event base */
- struct event timeout_ev; /**< Global task timeout */
- struct event *guard_ev; /**< Event for input sanity guard */
+ struct ev_timer timeout_ev; /**< Global task timeout */
+ struct ev_io *guard_ev; /**< Event for input sanity guard */
gpointer checkpoint; /**< Opaque checkpoint data */
ucl_object_t *settings; /**< Settings applied to task */