From cfdbf62e0ce4f0020067a0956adc51f7878f9c57 Mon Sep 17 00:00:00 2001 From: xiang <1984871009@qq.com> Date: Tue, 13 Jun 2023 16:31:47 +0800 Subject: [PATCH] feat: update --- model/forefront/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {