From 6cf99b429c8ac9473313b6b9b4ce715c1a671f0c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 6 May 2017 12:06:07 +0100 Subject: [Minor] Increase default timeout to deal with milter --- src/rspamd_proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3