X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2FWorker.js;h=db82e8215fd0dad8fca89da13431c36f3c5c195d;hb=488fd3a755df336223b6d469a07c7605d325289b;hp=7e899d40328eea4082568382717745296b879050;hpb=6798437b654a296bdd946e8eed37f3dbe036e3cd;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/Worker.js b/src/charging-station/Worker.js index 7e899d40..db82e821 100644 --- a/src/charging-station/Worker.js +++ b/src/charging-station/Worker.js @@ -24,7 +24,6 @@ class Wrk { * @param {Number} numConcurrentWorkers * @private */ - // eslint-disable-next-line class-methods-use-this set _numConcurrentWorkers(numConcurrentWorkers) { if (numConcurrentWorkers > 10) { EventEmitter.defaultMaxListeners = numConcurrentWorkers + 1; @@ -32,7 +31,6 @@ class Wrk { this._concurrentWorkers = numConcurrentWorkers; } - // eslint-disable-next-line class-methods-use-this get _numConcurrentWorkers() { return this._concurrentWorkers; }