aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-01 14:58:05 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-01 14:58:22 +0000
commita144260321074948e012e621020515dbf448f85a (patch)
tree06426e05848535280db46532aaf4d2556172bbb4
parent85761797e07fc4ef8159a301fd7ea7ad733c07a2 (diff)
downloadrspamd-a144260321074948e012e621020515dbf448f85a.tar.gz
rspamd-a144260321074948e012e621020515dbf448f85a.zip
[Minor] Reduce default redis_pool timeout to 10 seconds
-rw-r--r--src/libserver/redis_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/redis_pool.c b/src/libserver/redis_pool.c
index ba39bb2f8..0fe129446 100644
--- a/src/libserver/redis_pool.c
+++ b/src/libserver/redis_pool.c
@@ -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, \