Skip to content

Commit

Permalink
cleanup log
Browse files Browse the repository at this point in the history
  • Loading branch information
misyel committed Jan 15, 2025
1 parent 38a4344 commit aec7d8f
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ public void run() {
}

if (StringUtils.isEmpty(store.getTargetSwapRegion())) {
LOGGER.info(
"Skipping target region swap for store {} as target swap region is not enabled",
store.getName());
continue;
}

Expand Down Expand Up @@ -170,11 +167,6 @@ public void run() {
long completionTime = pushStatusInfo.getExtraInfoUpdateTimestamp().get(targetRegion);
long storeWaitTime = TimeUnit.MINUTES.toSeconds(store.getTargetSwapRegionWaitTime());
long currentTime = LocalDateTime.now().toEpochSecond(ZoneOffset.UTC);
LOGGER.info(
"completion time: {}, waitTime: {}, currentTime: {}",
completionTime,
storeWaitTime,
currentTime);
if ((completionTime + storeWaitTime) <= currentTime) {
didWaitTimeElapseInTargetRegions = true;
}
Expand Down

0 comments on commit aec7d8f

Please sign in to comment.