mirror of
https://github.com/DerDavidBohl/dirigent-spring.git
synced 2025-12-21 11:59:56 -06:00
Add logging
This commit is contained in:
@@ -31,8 +31,11 @@ public class DeploymentUpdateService {
|
||||
private final DeploymentsConfigurationProvider configurationProvider;
|
||||
private final ApplicationEventPublisher applicationEventPublisher;
|
||||
|
||||
@Scheduled(fixedRateString = "${dirigent.update.rate}", timeUnit = TimeUnit.SECONDS)
|
||||
@Scheduled(fixedRateString = "${dirigent.update.rate:30}", timeUnit = TimeUnit.SECONDS)
|
||||
public void checkAllDeploymentForUpdates() {
|
||||
|
||||
log.info("Checking For Updates");
|
||||
|
||||
List<Deployment> deployments = configurationProvider.getConfiguration().deployments();
|
||||
|
||||
for (Deployment deployment : deployments) {
|
||||
|
||||
Reference in New Issue
Block a user