"statisticsDisplayInterval": 60,
"autoReconnectTimeout": 10,
"autoReconnectMaxRetries": 10,
- "distributeStationToTenantEqually": true,
+ "distributeStationsToTenantsEqually": true,
"useWorkerPool": false,
"workerPoolSize": 16,
"stationTemplateURLs": [
"autoReconnectTimeout": 10,
"autoReconnectMaxRetries": 10,
"statisticsDisplayInterval": 60,
- "distributeStationToTenantEqually": true,
+ "distributeStationsToTenantsEqually": true,
"useWorkerPool": false,
"workerPoolSize": 16,
"stationTemplateURLs": [
const supervisionUrls = Utils.cloneObject(this._stationInfo.supervisionURL ? this._stationInfo.supervisionURL : Configuration.getSupervisionURLs()) as string | string[];
let indexUrl = 0;
if (!Utils.isEmptyArray(supervisionUrls)) {
- if (Configuration.getDistributeStationToTenantEqually()) {
+ if (Configuration.getDistributeStationsToTenantsEqually()) {
indexUrl = this._index % supervisionUrls.length;
} else {
// Get a random url
statisticsDisplayInterval?: number;
autoReconnectTimeout?: number;
autoReconnectMaxRetries?: number;
- distributeStationToTenantEqually?: boolean;
+ distributeStationsToTenantsEqually?: boolean;
useWorkerPool?: boolean;
workerPoolSize?: number;
logFormat?: string;
return Configuration.getConfig().supervisionURLs;
}
- static getDistributeStationToTenantEqually(): boolean {
- return Utils.objectHasOwnProperty(Configuration.getConfig(), 'distributeStationToTenantEqually') ? Configuration.getConfig().distributeStationToTenantEqually : true;
+ static getDistributeStationsToTenantsEqually(): boolean {
+ return Utils.objectHasOwnProperty(Configuration.getConfig(), 'distributeStationsToTenantsEqually') ? Configuration.getConfig().distributeStationsToTenantsEqually : true;
}
}