Skip to content

Commit

Permalink
Carbon monitoring happens every 10min not 10sec
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoldverg committed Nov 12, 2024
1 parent ac8afed commit b63ed87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public List<TransferJobRequest> getPotentialJobsFromMap() {
}).collect(Collectors.toList());
}

@Scheduled(cron = "*/10 * * * * *")
@Scheduled(cron = "* */10 * * * *")
public void measureCarbonOfPotentialJobs() {
List<TransferJobRequest> potentialJobs = getPotentialJobsFromMap();
logger.info("Potential jobs from ODS to run: {}", potentialJobs);
Expand Down

0 comments on commit b63ed87

Please sign in to comment.