]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Reduce default redis_pool timeout to 10 seconds
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 1 Nov 2016 14:58:05 +0000 (14:58 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 1 Nov 2016 14:58:22 +0000 (14:58 +0000)
src/libserver/redis_pool.c

index ba39bb2f81686c7bbc2d744eff15c8c905da2cef..0fe12944653ec6ff23672224c54d798892dbef26 100644 (file)
@@ -53,7 +53,7 @@ struct rspamd_redis_pool {
        guint max_conns;
 };
 
-static const gdouble default_timeout = 60.0;
+static const gdouble default_timeout = 10.0;
 static const guint default_max_conns = 100;
 
 #define msg_err_rpool(...) rspamd_default_log_function (G_LOG_LEVEL_CRITICAL, \