repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(ci): use PAT for continuous benchmark results
[poolifier.git]
/
src
/
pools
/
worker-node.ts
diff --git
a/src/pools/worker-node.ts
b/src/pools/worker-node.ts
index dd116dfb2ca656d06188916cd7924193e57a8c16..ca275dedab806b9a4cc2c9c6aee5d3cf550b99f5 100644
(file)
--- a/
src/pools/worker-node.ts
+++ b/
src/pools/worker-node.ts
@@
-169,7
+169,7
@@
implements IWorkerNode<Worker, Data> {
this.onEmptyQueueCount = 0
return
}
this.onEmptyQueueCount = 0
return
}
-
;
(this.onEmptyQueue as WorkerNodeEventCallback)(this.info.id as number)
+ (this.onEmptyQueue as WorkerNodeEventCallback)(this.info.id as number)
++this.onEmptyQueueCount
await sleep(exponentialDelay(this.onEmptyQueueCount))
await this.startOnEmptyQueue()
++this.onEmptyQueueCount
await sleep(exponentialDelay(this.onEmptyQueueCount))
await this.startOnEmptyQueue()