Skip to content

Commit

Permalink
scheduled workouts
Browse files Browse the repository at this point in the history
  • Loading branch information
freekode committed Jan 16, 2025
1 parent 2ac849c commit 89e6e73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class WorkoutJobScheduler(
private val log = LoggerFactory.getLogger(this.javaClass)
private val scheduledRequests = mutableSetOf<Schedulable>()

@Scheduled(fixedRate = 20, timeUnit = TimeUnit.SECONDS)
@Scheduled(fixedRate = 20, timeUnit = TimeUnit.MINUTES)
fun job() {
val requests = getRequests()
log.info("Starting processing scheduled requests. There are ${requests.size} requests")
Expand Down

0 comments on commit 89e6e73

Please sign in to comment.