repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
844e618
)
fix: unref check active interval
author
Jérôme Benoit
<jerome.benoit@sap.com>
Fri, 14 Jul 2023 14:17:51 +0000
(16:17 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Fri, 14 Jul 2023 14:17:51 +0000
(16:17 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/worker/abstract-worker.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/worker/abstract-worker.ts
b/src/worker/abstract-worker.ts
index 1b8a673c2a78d461288bc6c4f30fa8eb5a942285..3adc56d13ee3d5aa4be402cd38dd179bc05ec594 100644
(file)
--- a/
src/worker/abstract-worker.ts
+++ b/
src/worker/abstract-worker.ts
@@
-317,7
+317,7
@@
export abstract class AbstractWorker<
this.activeInterval = setInterval(
this.checkActive.bind(this),
(this.opts.maxInactiveTime ?? DEFAULT_MAX_INACTIVE_TIME) / 2
- )
+ )
.unref()
}
/**