quick fixes (#2404)

This commit is contained in:
Anthony Stirling
2024-12-05 19:55:34 +00:00
committed by GitHub
parent b6eca59f23
commit 5a5a8bb7ba
3 changed files with 6 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ public class LicenseKeyChecker {
this.checkLicense();
}
@Scheduled(fixedRate = 604800000) // 7 days in milliseconds
@Scheduled(initialDelay = 604800000,fixedRate = 604800000) // 7 days in milliseconds
public void checkLicensePeriodically() {
checkLicense();
}