Commit d8e3c5e0 authored by liucx's avatar liucx

更新运行时间

parent c7bd36fc
......@@ -48,8 +48,7 @@ public class AssetStockPriceTask implements ApplicationRunner {
private AssetStockPositionService stockPositionService;
@Autowired
private CommonConfig commonConfig;
@Autowired
private UsMemberBaseService memberBaseService;
@Override
......@@ -104,14 +103,14 @@ public class AssetStockPriceTask implements ApplicationRunner {
e.printStackTrace();
}
try {
Thread.sleep(100000);
Thread.sleep(600000);
} catch (Exception e) {
e.printStackTrace();
}
} else {
try {
Thread.sleep(20000);
Thread.sleep(6000000);
} catch (Exception e) {
e.printStackTrace();
}
......
......@@ -111,14 +111,14 @@ public class SmartStockPriceTask implements ApplicationRunner {
e.printStackTrace();
}
try {
Thread.sleep(10000);
Thread.sleep(600000);
} catch (Exception e) {
e.printStackTrace();
}
} else {
try {
Thread.sleep(80000);
Thread.sleep(6000000);
} catch (Exception e) {
e.printStackTrace();
}
......
......@@ -108,14 +108,14 @@ public class StockPriceTask implements ApplicationRunner {
e.printStackTrace();
}
try {
Thread.sleep(20000);
Thread.sleep(600000);
} catch (Exception e) {
e.printStackTrace();
}
} else {
try {
Thread.sleep(80000);
Thread.sleep(6000000);
} catch (Exception e) {
e.printStackTrace();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment