Skip to content

Commit 8582b0a

Browse files
authored
Merge pull request #280 from module-federation/release-0-1-0
fix maxPoolSize and autoscale
2 parents ad2355c + 1d81cd9 commit 8582b0a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/domain/thread-pool.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,8 +552,7 @@ export class ThreadPool extends EventEmitter {
552552
}
553553

554554
canCheckout () {
555-
return true
556-
// return this.threads.some(t => t.id === this.locks.pop())
555+
return this.threads.some(t => t.id === this.locks.pop())
557556
}
558557

559558
checkout () {

0 commit comments

Comments
 (0)