]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Another try to fix hanged redis sessions
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 6 May 2016 16:28:46 +0000 (17:28 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 6 May 2016 16:28:46 +0000 (17:28 +0100)
src/lua/lua_redis.c

index 920d8852a9aa683f12ae334363be9739b18dc948..f899fa96b754fcb37e2e5a111a11098369d3295b 100644 (file)
@@ -403,7 +403,7 @@ lua_redis_timeout (int fd, short what, gpointer u)
 
        REDIS_RETAIN (ctx);
        msg_debug ("timeout while querying redis server");
-       lua_redis_push_error ("timeout while connecting the server", ctx, sp_ud, FALSE);
+       lua_redis_push_error ("timeout while connecting the server", ctx, sp_ud, TRUE);
 
        if (sp_ud->c->ctx) {
                ac = sp_ud->c->ctx;