Skip to content

Commit

Permalink
Ta ned delay på cronjob
Browse files Browse the repository at this point in the history
  • Loading branch information
tu55eladd committed Mar 13, 2024
1 parent 3a2631f commit 90ddfd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class DeletedMessagesFixSchedule(
) {
private val log = LoggerFactory.getLogger(javaClass)

@Scheduled(fixedDelay = 10 * 1000L, initialDelay = ONE_MINUTE)
@Scheduled(fixedDelay = 1000L, initialDelay = ONE_MINUTE)
fun prosesserDataFraHistoriskeDeltakelser() {
if (!leaderElectionClient.isLeader) return
if (!unleash.isEnabled("aktivitet-arena-acl.deletedMessagesFix.enabled")) return
Expand Down

0 comments on commit 90ddfd8

Please sign in to comment.