diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-12 18:42:32 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-12 18:42:32 +0100 |
commit | 7055f521c14f35249fb786f1a497c546ad1ff716 (patch) | |
tree | 3e9e34557e6b01d9cfbb7ae7ff89336b098d4260 /src/libserver/task.h | |
parent | 395cb950190b94ea6565cbf7cfeb65d05de75209 (diff) | |
download | rspamd-7055f521c14f35249fb786f1a497c546ad1ff716.tar.gz rspamd-7055f521c14f35249fb786f1a497c546ad1ff716.zip |
Add global timeout for the overall task processing (8 seconds by default)
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r-- | src/libserver/task.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h index ee57c0f93..528b3e50e 100644 --- a/src/libserver/task.h +++ b/src/libserver/task.h @@ -165,6 +165,7 @@ struct rspamd_task { struct rspamd_dns_resolver *resolver; /**< DNS resolver */ struct event_base *ev_base; /**< Event base */ + struct event timeout_ev; /**< Global task timeout */ gpointer checkpoint; /**< Opaque checkpoint data */ |