X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2FConstants.ts;h=706ef41cc3291189c7e2ffa148a14523167c832c;hb=adf16e6408b60e64ca73c206a939e09509cf53e2;hp=1959ed935340ebf7424285fc682a5213ffa03d05;hpb=efa43e52e5a9b466c32ab0040bc4877c0f2fc621;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/Constants.ts b/src/utils/Constants.ts index 1959ed93..706ef41c 100644 --- a/src/utils/Constants.ts +++ b/src/utils/Constants.ts @@ -29,8 +29,11 @@ export default class Constants { static readonly CHARGING_STATION_ATG_WAIT_TIME = 2000; // Ms static readonly CHARGING_STATION_ATG_INITIALIZATION_TIME = 1000; // Ms - static readonly TRANSACTION_DEFAULT_TAGID = '00000000'; + static readonly TRANSACTION_DEFAULT_IDTAG = '00000000'; - static readonly START_WORKER_DELAY = 500; + static readonly WORKER_START_DELAY = 500; static readonly WORKER_POOL_MAX_INACTIVE_TIME = 60000; + static readonly DEFAULT_WORKER_POOL_MIN_SIZE = 4; + static readonly DEFAULT_WORKER_POOL_MAX_SIZE = 16; + static readonly DEFAULT_CHARGING_STATIONS_PER_WORKER = 1; }