diff options
author | Graeme Fowler <graemef@exim.org> | 2018-03-07 17:41:23 +0000 |
---|---|---|
committer | Graeme Fowler <graemef@exim.org> | 2018-03-07 17:41:23 +0000 |
commit | e29b631dc8f5694dd5964b40a85086015fdff054 (patch) | |
tree | 97ba80b224c3ae3a7513b7f8fe8e607ebaf9fc64 | |
parent | c4b57fddcae8301f324d2626083c13b2c5e60521 (diff) |
Redis cluster DEFER & test results corrected
-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 -> +> |