mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-19 20:07:49 +08:00
[集群] 修复BUG
This commit is contained in:
parent
232fa760e2
commit
b650d5821d
@ -228,6 +228,7 @@ public class RedisRpcServiceImpl implements IRedisRpcService {
|
||||
@Override
|
||||
public boolean updatePlatform(String serverId, Platform platform) {
|
||||
RedisRpcRequest request = buildRequest("platform/update", platform);
|
||||
request.setToId(serverId);
|
||||
RedisRpcResponse response = redisRpcConfig.request(request, 40);
|
||||
return Boolean.parseBoolean(response.getBody().toString());
|
||||
}
|
||||
@ -239,6 +240,7 @@ public class RedisRpcServiceImpl implements IRedisRpcService {
|
||||
jsonObject.put("channelIds", channelIds);
|
||||
jsonObject.put("type", type);
|
||||
RedisRpcRequest request = buildRequest("platform/catalogEventPublish", jsonObject);
|
||||
request.setToId(serverId);
|
||||
redisRpcConfig.request(request, 100);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user