aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-01-28 14:38:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-01-28 14:38:51 +0000
commitb70711c9e1be8c2387ba468dedb5776a8184ee9d (patch)
tree72fab01ec55a46a5ab4d4abdbe59a8396c3fff95 /src/libserver/task.c
parent21445a33871eb64b562defd4ab80ec53fca4b740 (diff)
downloadrspamd-b70711c9e1be8c2387ba468dedb5776a8184ee9d.tar.gz
rspamd-b70711c9e1be8c2387ba468dedb5776a8184ee9d.zip
[Minor] Slightly increase write timeout
Diffstat (limited to 'src/libserver/task.c')
-rw-r--r--src/libserver/task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c
index 096933803..43ce59ee1 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -125,7 +125,7 @@ rspamd_task_new (struct rspamd_worker *worker,
static void
rspamd_task_reply (struct rspamd_task *task)
{
- const ev_tstamp write_timeout = 2.0;
+ const ev_tstamp write_timeout = 5.0;
if (task->fin_callback) {
task->fin_callback (task, task->fin_arg);