Showing
1 changed file
with
1 additions
and
1 deletions
@@ -27,7 +27,7 @@ public class UpdateHostTimeTask { | @@ -27,7 +27,7 @@ public class UpdateHostTimeTask { | ||
27 | 27 | ||
28 | 28 | ||
29 | //定时 清理 mobject_info表中的数据,删除 host_info表中不存在的主机 | 29 | //定时 清理 mobject_info表中的数据,删除 host_info表中不存在的主机 |
30 | - @Scheduled(fixedRate = 5 * 60 * 1000) | 30 | + //@Scheduled(fixedRate = 30 * 60 * 1000) |
31 | public void doDeleteHosts(){ | 31 | public void doDeleteHosts(){ |
32 | logger.info("doDeleteHosts ---- delete hosts from mobject_info which not exists in host_info"); | 32 | logger.info("doDeleteHosts ---- delete hosts from mobject_info which not exists in host_info"); |
33 | List<HostInfo> allHosts = hostInfoMapper.selectAll();//所有的主机 | 33 | List<HostInfo> allHosts = hostInfoMapper.selectAll();//所有的主机 |
-
Please register or login to post a comment