Skip to content

Commit

Permalink
refactor: 테스트용 log 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
This2sho committed Jun 9, 2024
1 parent ff521a7 commit 59b7bfd
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,12 @@ private Map<String, Parking> readBy(Predicate<ParkingApiService> currentParkingA
Map<String, Parking> result = new HashMap<>();
for (ParkingApiService parkingApi : parkingApis) {
HealthCheckResponse healthCheckResponse = parkingApi.check();

log.info("api = {}", parkingApi);
long start = System.currentTimeMillis();

if (healthCheckResponse.isHealthy()) {
List<CompletableFuture<List<Parking>>> responses = fetchParkingDataAsync(
parkingApi, healthCheckResponse.getTotalSize());
Map<String, Parking> response = collectParkingData(responses);
result.putAll(response);
}

long end = System.currentTimeMillis();
log.info("read Time = {}", end - start);
}
return result;
}
Expand Down

0 comments on commit 59b7bfd

Please sign in to comment.