mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-18 03:27:48 +08:00
[集群] 修复BUG
This commit is contained in:
parent
a9a4c7a4e5
commit
000b797f48
@ -228,7 +228,7 @@ public class RedisRpcServiceImpl implements IRedisRpcService {
|
||||
public boolean updatePlatform(String serverId, Platform platform) {
|
||||
RedisRpcRequest request = buildRequest("platform/update", platform);
|
||||
request.setToId(serverId);
|
||||
RedisRpcResponse response = redisRpcConfig.request(request, 40);
|
||||
RedisRpcResponse response = redisRpcConfig.request(request, 4);
|
||||
return Boolean.parseBoolean(response.getBody().toString());
|
||||
}
|
||||
|
||||
@ -242,6 +242,6 @@ public class RedisRpcServiceImpl implements IRedisRpcService {
|
||||
if (serverId != null) {
|
||||
request.setToId(serverId);
|
||||
}
|
||||
redisRpcConfig.request(request, 100);
|
||||
redisRpcConfig.request(request, 1);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user