]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Increase default timeout to deal with milter
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 6 May 2017 11:06:07 +0000 (12:06 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 6 May 2017 11:06:07 +0000 (12:06 +0100)
src/rspamd_proxy.c

index a0544650d1d298f91d3ab65d42273bcb648b6788..6eabcf109e293bfde9d005f0e4d5c99d276cc7f6 100644 (file)
@@ -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);