private readonly sharedLRUCache: SharedLRUCache;
private webSocketPingSetInterval!: NodeJS.Timeout;
private readonly chargingStationWorkerBroadcastChannel: ChargingStationWorkerBroadcastChannel;
private readonly sharedLRUCache: SharedLRUCache;
private webSocketPingSetInterval!: NodeJS.Timeout;
private readonly chargingStationWorkerBroadcastChannel: ChargingStationWorkerBroadcastChannel;
this.performanceStatistics?.start();
}
if (this.hasFeatureProfile(SupportedFeatureProfiles.Reservation)) {
this.performanceStatistics?.start();
}
if (this.hasFeatureProfile(SupportedFeatureProfiles.Reservation)) {
const interval =
customInterval ?? Constants.DEFAULT_RESERVATION_EXPIRATION_OBSERVATION_INTERVAL;
logger.info(
`${this.logPrefix()} Reservation expiration date interval is set to ${interval}
const interval =
customInterval ?? Constants.DEFAULT_RESERVATION_EXPIRATION_OBSERVATION_INTERVAL;
logger.info(
`${this.logPrefix()} Reservation expiration date interval is set to ${interval}
private countReservableConnectors(connectors: Map<number, ConnectorStatus>) {
let reservableConnectors = 0;
private countReservableConnectors(connectors: Map<number, ConnectorStatus>) {
let reservableConnectors = 0;
- private stopReservationExpiryDateSetInterval(): void {
- if (this.reservationExpiryDateSetInterval) {
- clearInterval(this.reservationExpiryDateSetInterval);
+ private stopReservationExpirationSetInterval(): void {
+ if (this.reservationExpirationSetInterval) {
+ clearInterval(this.reservationExpirationSetInterval);