Commit 7509c381 by huangfusuper

Merge remote-tracking branch 'origin/developer' into developer

parents 28bab64b 46ca5659
......@@ -141,7 +141,7 @@ public class ApiFlowServiceImpl implements ApiFlowService {
}else {
flow.setRepeatCount(-1);
}
flow.setScheduleFollow(pluginFlow.getConfig().getScheduleFollow());
flow.setScheduleFollow(StringUtils.isEmpty(pluginFlow.getConfig().getScheduleFollow()) ? "1" : pluginFlow.getConfig().getScheduleFollow());
flow.setFlowCron(pluginFlow.getConfig().getFlowCron());
flow.setTriggerNextTime(StringUtils.isEmpty(pluginFlow.getConfig().getFlowCron()) ? null : new CronExpression(pluginFlow.getConfig().getFlowCron()).getNextValidTimeAfter(new Date()).getTime());
//设置超时时间,未设置默认30分钟
......
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