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
Cleanup workers handling classes.
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
StationWorker.ts
diff --git
a/src/charging-station/StationWorker.ts
b/src/charging-station/StationWorker.ts
index a948a1b4bbb1bfc1572ffe3dbac8a47d6e6149bc..513265e2bb0679323adbbca9c2959c20d94b04be 100644
(file)
--- a/
src/charging-station/StationWorker.ts
+++ b/
src/charging-station/StationWorker.ts
@@
-11,7
+11,6
@@
if (!isMainThread) {
}
function addListener() {
}
function addListener() {
- parentPort.setMaxListeners(Constants.MAX_LISTENERS);
parentPort.on('message', (e) => {
if (e.id === Constants.START_WORKER_ELEMENT) {
startChargingStation(e.workerData);
parentPort.on('message', (e) => {
if (e.id === Constants.START_WORKER_ELEMENT) {
startChargingStation(e.workerData);