|
@@ -57,7 +57,7 @@ public class MysqlWatch {
|
|
MongoTemplate mongoTemplate;
|
|
MongoTemplate mongoTemplate;
|
|
|
|
|
|
|
|
|
|
- @Scheduled(fixedDelay = 1000)
|
|
|
|
|
|
+ @Scheduled(cron = "0 0/1 * * * ?")
|
|
public void getTsData() {
|
|
public void getTsData() {
|
|
Connection connection = null;
|
|
Connection connection = null;
|
|
Statement statement = null;
|
|
Statement statement = null;
|