refactor: unflag worker startup at the right time on worker set
[e-mobility-charging-stations-simulator.git] / src / utils / Constants.ts
index a5cd81502d230e447a96efb4084b66ab59e2af1c..8ab45e63e1293a9e0ccbd662a0f3e23deb0f004c 100644 (file)
@@ -36,6 +36,7 @@ export class Constants {
 
   static readonly DEFAULT_FLUCTUATION_PERCENT = 5;
 
+  static readonly DEFAULT_PERFORMANCE_DIRECTORY = 'performance';
   static readonly DEFAULT_PERFORMANCE_RECORDS_FILENAME = 'performanceRecords.json';
   static readonly DEFAULT_PERFORMANCE_RECORDS_DB_NAME = 'e-mobility-charging-stations-simulator';
   static readonly PERFORMANCE_RECORDS_TABLE = 'performance_records';
@@ -47,11 +48,15 @@ export class Constants {
 
   static readonly MAX_RANDOM_INTEGER = 281474976710654;
 
+  static readonly STOP_SIMULATOR_TIMEOUT = 120000; // Ms
+
   static readonly EMPTY_FREEZED_OBJECT = Object.freeze({});
   static readonly EMPTY_FUNCTION = Object.freeze(() => {
     /* This is intentional */
   });
 
+  static readonly DEFAULT_RESERVATION_EXPIRATION_OBSERVATION_INTERVAL = 60000; // Ms
+
   private constructor() {
     // This is intentional
   }