return Configuration.getConfig().useWorkerPool;
}
- static getWorkerPoolSize(): number {
- return Configuration.getConfig().workerPoolSize;
+ static getWorkerMaxPoolSize(): number {
+ return Configuration.getConfig().workerMaxPoolSize;
+ }
+
+ static getChargingStationsPerWorker(): number {
+ return Configuration.objectHasOwnProperty(Configuration.getConfig(), 'chargingStationsPerWorker') ? Configuration.getConfig().chargingStationsPerWorker : 1;
}
static getLogConsole(): boolean {