Skip to content

Commit

Permalink
Lock mechanism fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitolo-Andrea committed Dec 4, 2024
1 parent f438d12 commit 48db4ee
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public KeyRenewalScheduler(TppRepository tppRepository, AzureEncryptService azur

@Scheduled(fixedRate = 60000)
public void renewExpiringKeys() {
log.info("[Key-Renewal-Scheduler] Avvio rinnovo chiavi...");
tppRepository.findAll()
.doOnNext(this::checkAndProcessKey)
.doOnTerminate(() -> log.info("[Key-Renewal-Scheduler][Renew-Expiring-Keys]Verifica completata"))
Expand Down

0 comments on commit 48db4ee

Please sign in to comment.