|
|
@@ -70,7 +70,7 @@ public class WaylineRedisServiceImpl implements IWaylineRedisService {
|
|
|
throw new RuntimeException("Job id can't be null.");
|
|
|
}
|
|
|
RedisOpsUtils.setWithExpire(RedisConst.WAYLINE_JOB_CONDITION_PREFIX + waylineJob.getJobId(), waylineJob,
|
|
|
- (Duration.between(waylineJob.getEndTime(), LocalDateTime.now()).getSeconds()));
|
|
|
+ (Duration.between(LocalDateTime.now(),waylineJob.getEndTime()).getSeconds()));
|
|
|
}
|
|
|
|
|
|
@Override
|