From f377d2c35d74750abfa56ac863a10cb93d9a53e8 Mon Sep 17 00:00:00 2001 From: Franjo Zilic Date: Wed, 22 Mar 2017 14:52:58 +0100 Subject: [PATCH] DATAREDIS-618 - Read number of sentinels via RedisServer from num-other-sentinels. We now read values for NUMBER_OTHER_SENTINELS to using num-other-sentinels. Previously, the property key was multi. Original pull request: #241. --- .../springframework/data/redis/connection/RedisServer.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/springframework/data/redis/connection/RedisServer.java b/src/main/java/org/springframework/data/redis/connection/RedisServer.java index 0e52bd2a4..a682c146c 100644 --- a/src/main/java/org/springframework/data/redis/connection/RedisServer.java +++ b/src/main/java/org/springframework/data/redis/connection/RedisServer.java @@ -1,5 +1,5 @@ /* - * Copyright 2014 the original author or authors. + * Copyright 2014-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,8 @@ import org.springframework.util.StringUtils; /** * @author Christoph Strobl * @author Thomas Darimont - * + * @author Franjo Zilic + * * @since 1.4 */ public class RedisServer extends RedisNode { @@ -44,7 +45,7 @@ public class RedisServer extends RedisNode { ROLE_REPORTED_TIME("role-reported-time"), // CONFIG_EPOCH("config-epoch"), // NUMBER_SLAVES("num-slaves"), // - NUMBER_OTHER_SENTINELS("multi"), // + NUMBER_OTHER_SENTINELS("num-other-sentinels"), // BUFFER_LENGTH("qbuf"), // BUFFER_FREE_SPACE("qbuf-free"), // OUTPUT_BUFFER_LENGTH("obl"), //