Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
- **staticPool**:
Statically sized worker pool executing a static total number of simulated charging stations
-- **dynamicPool**:
+- **dynamicPool** (experimental):
Dynamically sized worker pool executing a static total number of simulated charging stations
### Charging station configuration template
}`
)
);
+ Configuration.workerDynamicPoolInUse() &&
+ console.warn(
+ chalk.yellow(
+ 'Charging stations simulator is using dynamic pool mode. This is an experimental feature with known issues.\nPlease consider using static pool or worker set mode instead'
+ )
+ );
console.info(chalk.green('Worker set/pool information:'), this.workerImplementation?.info);
this.started = true;
this.starting = false;
export enum WorkerProcessType {
workerSet = 'workerSet',
+ /** @experimental */
dynamicPool = 'dynamicPool',
staticPool = 'staticPool',
}