仅在Update Cache时纠正离线在线偏差,无需反复修正
parent
a556d8520b
commit
574f224767
|
@ -288,7 +288,7 @@ public class VideoManagerRedisStoragerImpl implements IVideoManagerStorager {
|
|||
// devices.add((Device)redis.get((String)deviceIdList.get(i)));
|
||||
device =(Device)redis.get((String)deviceIdList.get(i));
|
||||
if (redis.scan(VideoManagerConstants.KEEPLIVEKEY_PREFIX+device.getDeviceId()).size() == 0){
|
||||
outline(device.getDeviceId());
|
||||
// outline(device.getDeviceId());
|
||||
}
|
||||
devices.add(device);
|
||||
}
|
||||
|
@ -297,7 +297,7 @@ public class VideoManagerRedisStoragerImpl implements IVideoManagerStorager {
|
|||
// devices.add((Device)redis.get(VideoManagerConstants.DEVICE_PREFIX+deviceIds[i]));
|
||||
device = (Device)redis.get(VideoManagerConstants.DEVICE_PREFIX+deviceIds[i]);
|
||||
if (redis.scan(VideoManagerConstants.KEEPLIVEKEY_PREFIX+device.getDeviceId()).size() == 0){
|
||||
outline(device.getDeviceId());
|
||||
// outline(device.getDeviceId());
|
||||
}
|
||||
devices.add(device);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue