repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): apply updates
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
Bootstrap.ts
diff --git
a/src/charging-station/Bootstrap.ts
b/src/charging-station/Bootstrap.ts
index 731cc477d7a406d8165c8764ea851bc06115bafe..5b23676f24e39049cedf24f7581132f5b265a925 100644
(file)
--- a/
src/charging-station/Bootstrap.ts
+++ b/
src/charging-station/Bootstrap.ts
@@
-36,7
+36,6
@@
import {
handleUncaughtException,
handleUnhandledRejection,
isNotEmptyArray,
handleUncaughtException,
handleUnhandledRejection,
isNotEmptyArray,
- isNullOrUndefined,
logPrefix,
logger
} from '../utils/index.js'
logPrefix,
logger
} from '../utils/index.js'
@@
-48,7
+47,7
@@
enum exitCodes {
succeeded = 0,
missingChargingStationsConfiguration = 1,
noChargingStationTemplates = 2,
succeeded = 0,
missingChargingStationsConfiguration = 1,
noChargingStationTemplates = 2,
- gracefulShutdownError = 3
+ gracefulShutdownError = 3
,
}
export class Bootstrap extends EventEmitter {
}
export class Bootstrap extends EventEmitter {
@@
-156,7
+155,7
@@
export class Bootstrap extends EventEmitter {
? `/${workerConfiguration.poolMaxSize?.toString()}`
: ''
} worker(s) concurrently running in '${workerConfiguration.processType}' mode${
? `/${workerConfiguration.poolMaxSize?.toString()}`
: ''
} worker(s) concurrently running in '${workerConfiguration.processType}' mode${
- !isNullOrUndefined(this.workerImplementation?.maxElementsPerWorker)
+ this.workerImplementation?.maxElementsPerWorker != null
? ` (${this.workerImplementation?.maxElementsPerWorker} charging station(s) per worker)`
: ''
}`
? ` (${this.workerImplementation?.maxElementsPerWorker} charging station(s) per worker)`
: ''
}`