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
/
types
/
ConfigurationData.ts
diff --git
a/src/types/ConfigurationData.ts
b/src/types/ConfigurationData.ts
index 622b125974d951531012740a719935a5ec1e9815..d1948921660b0da42774c813686405c2baf4d74c 100644
(file)
--- a/
src/types/ConfigurationData.ts
+++ b/
src/types/ConfigurationData.ts
@@
-1,4
+1,5
@@
import type { ListenOptions } from 'node:net';
import type { ListenOptions } from 'node:net';
+import type { ResourceLimits } from 'node:worker_threads';
import type { WorkerChoiceStrategy } from 'poolifier';
import type { WorkerChoiceStrategy } from 'poolifier';
@@
-63,15
+64,16
@@
export interface StorageConfiguration {
uri?: string;
}
uri?: string;
}
+export type ElementsPerWorkerType = number | 'auto' | 'all';
+
export interface WorkerConfiguration {
processType?: WorkerProcessType;
startDelay?: number;
export interface WorkerConfiguration {
processType?: WorkerProcessType;
startDelay?: number;
- elementsPerWorker?:
number | 'auto'
;
+ elementsPerWorker?:
ElementsPerWorkerType
;
elementStartDelay?: number;
poolMinSize?: number;
poolMaxSize?: number;
elementStartDelay?: number;
poolMinSize?: number;
poolMaxSize?: number;
- /** @deprecated Not publicly exposed to end users. */
- poolStrategy?: WorkerChoiceStrategy;
+ resourceLimits?: ResourceLimits;
}
export interface ConfigurationData {
}
export interface ConfigurationData {