From e62b21b19b17d8bfc7a04ebdae9d602e630499d1 Mon Sep 17 00:00:00 2001 From: lmeinen Date: Fri, 25 Jun 2021 15:03:55 +0200 Subject: [PATCH] Removed debugging schedule --- .../backend/verifier/ws/config/WSSchedulingConfig.java | 1 - 1 file changed, 1 deletion(-) 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();