From: Jérôme Benoit Date: Tue, 29 Oct 2024 09:40:25 +0000 (+0100) Subject: refactor: blank lines cleanup X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a7fbf324682fcbd325de5f6c53e18112c78d28f7;p=poolifier.git refactor: blank lines cleanup Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 2d573f6c..6b551d70 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -1314,7 +1314,6 @@ export abstract class AbstractPool< timestamp, transferList, } - if ( this.opts.enableTasksQueue === false || (this.opts.enableTasksQueue === true && diff --git a/src/worker/abstract-worker.ts b/src/worker/abstract-worker.ts index 0b425f78..c8aa5a05 100644 --- a/src/worker/abstract-worker.ts +++ b/src/worker/abstract-worker.ts @@ -73,6 +73,7 @@ export abstract class AbstractWorker< * Timestamp of the last task processed by this worker. */ protected lastTaskTimestamp!: number + /** * Runs the given task. * @param task - The task to execute.