X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fstart.ts;h=591ef96f0b6d186ede5a40053b7d1a466f3611a7;hb=73705988e2448ac96150bb851fa36d059ee40c17;hp=f316d0ad3d2ef6ea88090a87f71c511a69439346;hpb=d392bb75a5f44c6d6cbecb17d8dde61c1f7ac8fa;p=e-mobility-charging-stations-simulator.git diff --git a/src/start.ts b/src/start.ts index f316d0ad..591ef96f 100644 --- a/src/start.ts +++ b/src/start.ts @@ -2,8 +2,8 @@ import Configuration from './utils/Configuration'; import Constants from './utils/Constants'; import Utils from './utils/Utils'; import WorkerData from './types/WorkerData'; -import WorkerGroup from './charging-station/WorkerGroup'; -import WorkerPool from './charging-station/WorkerPool'; +import WorkerGroup from './worker/WorkerGroup'; +import WorkerPool from './worker/WorkerPool'; class Bootstrap { static async start() { @@ -61,9 +61,9 @@ class Bootstrap { if (numStationsTotal === 0) { console.log('No charging station template enabled in configuration, exiting'); } else if (Configuration.useWorkerPool()) { - console.log('Charging station simulator started with ' + numStationsTotal.toString() + ' charging station(s) and ' + numConcurrentWorkers.toString() + '/' + Configuration.getWorkerPoolMaxSize().toString() + ' worker(s) concurrently running'); + console.log(`Charging station simulator started with ${numStationsTotal.toString()} charging station(s) and ${numConcurrentWorkers.toString()}/${Configuration.getWorkerPoolMaxSize().toString()} worker(s) concurrently running`); } else { - console.log('Charging station simulator started with ' + numStationsTotal.toString() + ' charging station(s) and ' + numConcurrentWorkers.toString() + ' worker(s) concurrently running'); + console.log(`Charging station simulator started with ${numStationsTotal.toString()} charging station(s) and ${numConcurrentWorkers.toString()} worker(s) concurrently running (${chargingStationsPerWorker} charging station(s) per worker)`); } } catch (error) { // eslint-disable-next-line no-console