X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2FConfiguration.ts;h=9ab2582d140d54ddb068aaac229aeba9577734b1;hb=db5a5d93848e4ba9520df946e04f74c78cb1dd12;hp=6da954d16deb65044ce02544dd119580a272a14d;hpb=a95873d8d308a20a7151346ac70d9a551f1a06f5;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/Configuration.ts b/src/utils/Configuration.ts index 6da954d1..9ab2582d 100644 --- a/src/utils/Configuration.ts +++ b/src/utils/Configuration.ts @@ -42,7 +42,7 @@ export default class Configuration { // Read conf return Configuration.objectHasOwnProperty(Configuration.getConfig(), 'logStatisticsInterval') ? Configuration.getConfig().logStatisticsInterval - : 60; + : Constants.DEFAULT_LOG_STATISTICS_INTERVAL; } static getUIWebSocketServer(): UIWebSocketServerConfiguration { @@ -160,9 +160,9 @@ export default class Configuration { static getWorkerProcess(): WorkerProcessType { Configuration.warnDeprecatedConfigurationKey( - 'useWorkerPool;', + 'useWorkerPool', null, - "Use 'workerProcess' to define the type of worker process to use instead" + "Use 'workerProcess' to define the type of worker process model to use instead" ); return Configuration.objectHasOwnProperty(Configuration.getConfig(), 'workerProcess') ? Configuration.getConfig().workerProcess