diff options
-rw-r--r-- | src/src/lookups/redis.c | 6 | ||||
-rw-r--r-- | test/stdout/2701 | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/src/lookups/redis.c b/src/src/lookups/redis.c index dcd1b659c..e9ddf884c 100644 --- a/src/src/lookups/redis.c +++ b/src/src/lookups/redis.c @@ -248,12 +248,12 @@ switch (redis_reply->type) DEBUG(D_lookup) debug_printf("REDIS: cluster redirect %s\n", redis_reply->str); /* follow redirect - This is cheating, we simply set defer_break = TRUE to move on to + This is cheating, we simply set defer_break = FALSE to move on to the next server in the redis_servers list */ - *defer_break = TRUE; + *defer_break = FALSE; return DEFER; } else { - *defer_break = FALSE; + *defer_break = TRUE; } *do_cache = 0; goto REDIS_EXIT; diff --git a/test/stdout/2701 b/test/stdout/2701 index 67555c52a..96e4827b1 100644 --- a/test/stdout/2701 +++ b/test/stdout/2701 @@ -1,7 +1,7 @@ OK > OK > OK -> +> > objvalue plus > bfhdkbflks -> +> |