diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-16 12:33:06 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-16 12:33:06 +0100 |
commit | cb4e67963b6e5a4c58c77e39c10517d0ba3af068 (patch) | |
tree | 92795cdcd68568c3067eb80d1e9eabc3961cdc91 /src/libstat/backends | |
parent | a9adc939cca0c13bba0790748b573d225483ff1d (diff) | |
download | rspamd-cb4e67963b6e5a4c58c77e39c10517d0ba3af068.tar.gz rspamd-cb4e67963b6e5a4c58c77e39c10517d0ba3af068.zip |
[Fix] Fix state on timeout
Diffstat (limited to 'src/libstat/backends')
-rw-r--r-- | src/libstat/backends/redis_backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/backends/redis_backend.c b/src/libstat/backends/redis_backend.c index cd18e8277..cb7f0f75b 100644 --- a/src/libstat/backends/redis_backend.c +++ b/src/libstat/backends/redis_backend.c @@ -715,7 +715,7 @@ rspamd_redis_timeout (gint fd, short what, gpointer d) rspamd_session_remove_event (task->s, rspamd_redis_fin, rt); } - rt->conn_state = RSPAMD_REDIS_TIMEDOUT; + rt->conn_state = RSPAMD_REDIS_TERMINATED; redisAsyncFree (rt->redis); rt->redis = NULL; REF_RELEASE (rt); |