Skip to content

Commit 6b2e11b

Browse files
committed
cleanup debug code
1 parent 30932fc commit 6b2e11b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/domain/thread-pool.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,6 @@ export class ThreadPool extends EventEmitter {
159159
this.aborting = false
160160
this.jobsRequested = this.jobsQueued = 0
161161
this.broadcastChannel = options.broadcast
162-
this.grow = false
163-
164-
this.once(this.growPool.name, this.growPool)
165162

166163
if (options?.preload) {
167164
console.info('preload enabled for', this.name)
@@ -443,8 +440,6 @@ export class ThreadPool extends EventEmitter {
443440
return this
444441
}
445442

446-
async growPool () {}
447-
448443
jobQueueRate () {
449444
return Math.round((this.jobsQueued / this.jobsRequested) * 100)
450445
}

0 commit comments

Comments
 (0)