[集群] 修复BUG
parent
a9a4c7a4e5
commit
000b797f48
|
@ -228,7 +228,7 @@ public class RedisRpcServiceImpl implements IRedisRpcService {
|
||||||
public boolean updatePlatform(String serverId, Platform platform) {
|
public boolean updatePlatform(String serverId, Platform platform) {
|
||||||
RedisRpcRequest request = buildRequest("platform/update", platform);
|
RedisRpcRequest request = buildRequest("platform/update", platform);
|
||||||
request.setToId(serverId);
|
request.setToId(serverId);
|
||||||
RedisRpcResponse response = redisRpcConfig.request(request, 40);
|
RedisRpcResponse response = redisRpcConfig.request(request, 4);
|
||||||
return Boolean.parseBoolean(response.getBody().toString());
|
return Boolean.parseBoolean(response.getBody().toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -242,6 +242,6 @@ public class RedisRpcServiceImpl implements IRedisRpcService {
|
||||||
if (serverId != null) {
|
if (serverId != null) {
|
||||||
request.setToId(serverId);
|
request.setToId(serverId);
|
||||||
}
|
}
|
||||||
redisRpcConfig.request(request, 100);
|
redisRpcConfig.request(request, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue