summaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-28 12:13:52 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-28 12:13:52 +0100
commit72ceee149ff5dc360d1c028689f45840f1f2cf6f (patch)
treea695c337bb5f4089d02d65d2b1c2a4b32cb33967 /lualib
parent8879db43df630625cb3fb86ff808f83d487ad484 (diff)
downloadrspamd-72ceee149ff5dc360d1c028689f45840f1f2cf6f.tar.gz
rspamd-72ceee149ff5dc360d1c028689f45840f1f2cf6f.zip
[Minor] Allow to close connection to redis without pooling
Issue: #2796
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_redis.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua
index 37cdb7b6a..0b3c54a7c 100644
--- a/lualib/lua_redis.lua
+++ b/lualib/lua_redis.lua
@@ -71,6 +71,7 @@ local function redis_query_sentinel(ev_base, params, initialised)
timeout = params.timeout,
config = rspamd_config,
ev_base = ev_base,
+ no_pool = true,
})
if not is_ok then