Commit d8e3c5e0 authored by liucx's avatar liucx

更新运行时间

parent c7bd36fc
...@@ -48,8 +48,7 @@ public class AssetStockPriceTask implements ApplicationRunner { ...@@ -48,8 +48,7 @@ public class AssetStockPriceTask implements ApplicationRunner {
private AssetStockPositionService stockPositionService; private AssetStockPositionService stockPositionService;
@Autowired @Autowired
private CommonConfig commonConfig; private CommonConfig commonConfig;
@Autowired
private UsMemberBaseService memberBaseService;
@Override @Override
...@@ -104,14 +103,14 @@ public class AssetStockPriceTask implements ApplicationRunner { ...@@ -104,14 +103,14 @@ public class AssetStockPriceTask implements ApplicationRunner {
e.printStackTrace(); e.printStackTrace();
} }
try { try {
Thread.sleep(100000); Thread.sleep(600000);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
} else { } else {
try { try {
Thread.sleep(20000); Thread.sleep(6000000);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
......
...@@ -111,14 +111,14 @@ public class SmartStockPriceTask implements ApplicationRunner { ...@@ -111,14 +111,14 @@ public class SmartStockPriceTask implements ApplicationRunner {
e.printStackTrace(); e.printStackTrace();
} }
try { try {
Thread.sleep(10000); Thread.sleep(600000);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
} else { } else {
try { try {
Thread.sleep(80000); Thread.sleep(6000000);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
......
...@@ -108,14 +108,14 @@ public class StockPriceTask implements ApplicationRunner { ...@@ -108,14 +108,14 @@ public class StockPriceTask implements ApplicationRunner {
e.printStackTrace(); e.printStackTrace();
} }
try { try {
Thread.sleep(20000); Thread.sleep(600000);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
} else { } else {
try { try {
Thread.sleep(80000); Thread.sleep(6000000);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); 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