Browse Source

KERNEL-11853 抽数缓存最小更新间隔限制1分钟,不允许小数

release/11.0
Maximus 2 years ago
parent
commit
b012cbac57
  1. 3
      designer-base/src/main/java/com/fr/design/data/datapane/ESDStrategyConfigPane.java

3
designer-base/src/main/java/com/fr/design/data/datapane/ESDStrategyConfigPane.java

@ -248,8 +248,9 @@ public class ESDStrategyConfigPane extends BasicBeanPane<StrategyConfig> {
Date next2 = cron.getNextValidTimeAfter(next1); Date next2 = cron.getNextValidTimeAfter(next1);
return next2.getTime() - next1.getTime() >= CacheConstants.MILLIS_OF_MINUTE; return next2.getTime() - next1.getTime() >= CacheConstants.MILLIS_OF_MINUTE;
} catch (ParseException e) { } catch (ParseException e) {
throw new RuntimeException(e); FineLoggerFactory.getLogger().error(e.getMessage(), e);
} }
return false;
} }
protected String title4PopupWindow() { protected String title4PopupWindow() {

Loading…
Cancel
Save