...
|
...
|
@@ -39,7 +39,8 @@ public class UpdateHostTimeTask { |
|
|
List<String> mobjectHostIps = mObjectInfoMapper.selectAllMobjectIps();
|
|
|
List<String> deleteHostIpList = new ArrayList<>();
|
|
|
for( String ip : mobjectHostIps){
|
|
|
if( !allHostIps.contains(ip) ){
|
|
|
//保留127.0.0.1 用作stand alone redis的tw
|
|
|
if( !allHostIps.contains(ip) && !"127.0.0.1".equals(ip)){
|
|
|
deleteHostIpList.add(ip);
|
|
|
}
|
|
|
}
|
...
|
...
|
|