修复web端管理节点负载不显示国标收流 #871
This commit is contained in:
@@ -191,8 +191,6 @@ public interface IRedisCatchStorage {
|
||||
|
||||
int getProxyStreamCount(String id);
|
||||
|
||||
int getGbReceiveCount(String id);
|
||||
|
||||
int getGbSendCount(String id);
|
||||
|
||||
void addDiskInfo(List<Map<String, Object>> diskInfo);
|
||||
|
||||
@@ -586,15 +586,6 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
|
||||
return RedisUtil.scan(redisTemplate, key).size();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getGbReceiveCount(String id) {
|
||||
String playKey = VideoManagerConstants.PLAYER_PREFIX + "_" + userSetting.getServerId() + "_" + id + "_*";
|
||||
String playBackKey = VideoManagerConstants.PLAY_BLACK_PREFIX + "_" + userSetting.getServerId() + "_" + id + "_*";
|
||||
String downloadKey = VideoManagerConstants.DOWNLOAD_PREFIX + "_" + userSetting.getServerId() + "_" + id + "_*";
|
||||
|
||||
return RedisUtil.scan(redisTemplate, playKey).size() + RedisUtil.scan(redisTemplate, playBackKey).size() + RedisUtil.scan(redisTemplate, downloadKey).size();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getGbSendCount(String id) {
|
||||
String key = VideoManagerConstants.PLATFORM_SEND_RTP_INFO_PREFIX
|
||||
|
||||
Reference in New Issue
Block a user