diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-06 15:06:48 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-06 15:06:48 +0100 |
commit | 4b6654ca102cdfd18a9b0c81cd466b51e5a3bf8d (patch) | |
tree | 78fe010e48643b8755557ab983888cad458045d2 | |
parent | 489ec47bd8b9c5f34e506e78e392a0bc689ab2b5 (diff) | |
download | rspamd-4b6654ca102cdfd18a9b0c81cd466b51e5a3bf8d.tar.gz rspamd-4b6654ca102cdfd18a9b0c81cd466b51e5a3bf8d.zip |
Fix lua redis timeout handling.
-rw-r--r-- | src/lua/lua_redis.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/lua_redis.c b/src/lua/lua_redis.c index e43cc6c7c..2fa366ffe 100644 --- a/src/lua/lua_redis.c +++ b/src/lua/lua_redis.c @@ -198,7 +198,8 @@ lua_redis_timeout (int fd, short what, gpointer u) { struct lua_redis_userdata *ud = u; - lua_redis_push_error ("timeout while connecting the server", ud, FALSE); + msg_info ("timeout while querying redis server"); + lua_redis_push_error ("timeout while connecting the server", ud, TRUE); } /** |