aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-06 12:06:07 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-06 12:06:07 +0100
commit6cf99b429c8ac9473313b6b9b4ce715c1a671f0c (patch)
tree1d8b2c5fd4fd776eb51ec14620950bf05a78123f
parent60f20292ea14dcd7abec9d6f801b66074ede2bc7 (diff)
downloadrspamd-6cf99b429c8ac9473313b6b9b4ce715c1a671f0c.tar.gz
rspamd-6cf99b429c8ac9473313b6b9b4ce715c1a671f0c.zip
[Minor] Increase default timeout to deal with milter
-rw-r--r--src/rspamd_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c
index a0544650d..6eabcf109 100644
--- a/src/rspamd_proxy.c
+++ b/src/rspamd_proxy.c
@@ -623,7 +623,7 @@ init_rspamd_proxy (struct rspamd_config *cfg)
ctx = rspamd_mempool_alloc0 (cfg->cfg_pool,
sizeof (struct rspamd_proxy_ctx));
ctx->magic = rspamd_rspamd_proxy_magic;
- ctx->timeout = 10.0;
+ ctx->timeout = 120.0;
ctx->upstreams = g_hash_table_new (rspamd_strcase_hash, rspamd_strcase_equal);
rspamd_mempool_add_destructor (cfg->cfg_pool,
(rspamd_mempool_destruct_t)g_hash_table_unref, ctx->upstreams);