aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/backends/redis_backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstat/backends/redis_backend.c')
-rw-r--r--src/libstat/backends/redis_backend.c2
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);