diff --git a/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verifier/ws/config/WSSchedulingConfig.java b/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verifier/ws/config/WSSchedulingConfig.java index b3b06f6d..8c8c4747 100644 --- a/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verifier/ws/config/WSSchedulingConfig.java +++ b/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verifier/ws/config/WSSchedulingConfig.java @@ -27,7 +27,6 @@ public WSSchedulingConfig(ApiKeyConfig apiKeyConfig, AppTokenDataService appToke // Call method every 5 minutes starting at 0am, of every day @Scheduled(cron = "${ws.authentication.cron:0 0/5 0 ? * *}") - @Scheduled(fixedRate = 30000, initialDelay = 10000) public void updateAppTokens() { logger.info("Updating app tokens"); final var appTokens = appTokenDataService.getAppTokens();