Commit db708a78 authored by 钱坤's avatar 钱坤

基金净值缓存刷新触发job频率改为30分钟一次

parent 6e2a651a
...@@ -30,7 +30,7 @@ public class FundNavCacheJob { ...@@ -30,7 +30,7 @@ public class FundNavCacheJob {
@Value("${tanpu.fund.nav.cache.invoke.repeat:10}") @Value("${tanpu.fund.nav.cache.invoke.repeat:10}")
private int repeat; private int repeat;
@Scheduled(cron = "10 1 * * * ?") @Scheduled(cron = "10 1/30 * * * ?")
public void execute() { public void execute() {
long start = System.currentTimeMillis(); long start = System.currentTimeMillis();
String sign = DateUtils.format(DateUtils.nowDate()).replace(" ", ""); String sign = DateUtils.format(DateUtils.nowDate()).replace(" ", "");
......
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