Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
qinchao
7 years ago
Commit
8f9d2174409ef4a52fbff282c6ee6345e0b0f321
1 parent
97001663
去掉aws 自动伸缩获取数据
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
monitor-ui-common/src/main/java/com/ui/cloud/task/FetchAutoScalingTask.java
monitor-ui-common/src/main/java/com/ui/cloud/task/FetchAutoScalingTask.java
View file @
8f9d217
...
...
@@ -26,14 +26,14 @@ public class FetchAutoScalingTask {
/**
* 每5分钟取一次,时间点为0或者5结尾,与另外一个定时任务岔开
*/
@Scheduled
(
cron
=
"0/30 * * * * ?"
)
/*
@Scheduled(cron = "0/30 * * * * ?")
public void awsFetchAutoScaling() {
BaseResponse groups=autoScalingLoader.remoteLoadAutoScalingGroup(1);
if(groups==null){
logger.error("FetchAutoScalingTask awsFetchAutoScaling result is null");
}
autoScalingFactory.setAutoScalingGroups(1, groups);
}
}
*/
/**
* 每5分钟取一次,时间点为3或者8结尾,与另外一个定时任务岔开
...
...
Please
register
or
login
to post a comment