diff --git a/model/forefront/index.ts b/model/forefront/index.ts index d3a4d96..d5b2d98 100644 --- a/model/forefront/index.ts +++ b/model/forefront/index.ts @@ -95,7 +95,7 @@ export class Forefrontnew extends Chat { this.accountPool = new AccountPool(); const maxSize = +(process.env.POOL_SIZE || 2); const initialAccounts = this.accountPool.multiGet(maxSize); - this.pagePool = new BrowserPool(maxSize, initialAccounts.map(item => item.id), this.init.bind(this)); + this.pagePool = new BrowserPool(0, initialAccounts.map(item => item.id), this.init.bind(this)); } support(model: ModelType): number {