repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78cea37
)
Silence sonar
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sat, 22 Oct 2022 23:02:21 +0000
(
01:02
+0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sat, 22 Oct 2022 23:02:21 +0000
(
01:02
+0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/pools/abstract-pool.ts
b/src/pools/abstract-pool.ts
index e97df5556dd500d6204471e58a2d26eb63400ecc..6b12c2f99b6b986d822668c2648e0ff0ec59bd33 100644
(file)
--- a/
src/pools/abstract-pool.ts
+++ b/
src/pools/abstract-pool.ts
@@
-105,7
+105,7
@@
export abstract class AbstractPool<
this.getWorkerRunningTasks(workerCreated) === 0
) {
// Kill received from the worker, means that no new tasks are submitted to that worker for a while ( > maxInactiveTime)
- void
this.destroyWorker(workerCreated
)
+ void
(this.destroyWorker(workerCreated) as Promise<void>
)
}
})
return workerCreated