Merge branch 'master' of github.com:jerome-benoit/charging-stations-simulator
[e-mobility-charging-stations-simulator.git] / src / utils / Configuration.ts
index 6da954d16deb65044ce02544dd119580a272a14d..9ab2582d140d54ddb068aaac229aeba9577734b1 100644 (file)
@@ -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