Skip to content

Commit

Permalink
EPMRPP-91154 || Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
pbortnik committed Jun 18, 2024
1 parent 5a39203 commit ac7e2bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class ReportingTopologyConfiguration {
private final Client managementClient;

@Value("${reporting.parkingLot.ttl:14}")
private long PARKING_LOT_TTL;
private long parkingLotTtl;

@Value("${reporting.queues.count:10}")
private Integer queuesCount;
Expand Down Expand Up @@ -144,7 +144,7 @@ Binding ttlQueueBinding() {
@Bean
public Queue reportingParkingLot() {
return QueueBuilder.durable(REPORTING_PARKING_LOT)
.ttl((int) TimeUnit.DAYS.toMillis(PARKING_LOT_TTL))
.ttl((int) TimeUnit.DAYS.toMillis(parkingLotTtl))
.build();
}

Expand Down

0 comments on commit ac7e2bd

Please sign in to comment.