Skip to content

Commit

Permalink
Fix fetch scheduling
Browse files Browse the repository at this point in the history
  • Loading branch information
lolepezy committed Jun 16, 2023
1 parent 1881c97 commit d210000
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/net/ripe/rpki/rsyncit/rrdp/RrdpFetchJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import org.springframework.stereotype.Component;

import static org.quartz.CronScheduleBuilder.cronSchedule;
import static org.quartz.SimpleScheduleBuilder.simpleSchedule;

@Component
@Slf4j
Expand Down Expand Up @@ -45,8 +44,7 @@ public Trigger trigger(
TriggerBuilder.newTrigger().forJob(job)
.withIdentity("Rrdp_Fetch_Job_Trigger")
.withDescription("Rrdp Fetch trigger")
// .withSchedule(cronSchedule(appConfig.getCron()))
.withSchedule(simpleSchedule().repeatForever().withIntervalInSeconds(180))
.withSchedule(cronSchedule(appConfig.getCron()))
.build();
}

Expand Down

0 comments on commit d210000

Please sign in to comment.