feat: pass poolid

This commit is contained in:
amhsirak
2025-04-12 19:19:08 +05:30
parent 9247e9664c
commit 8e39007861

View File

@@ -118,11 +118,11 @@ export class RemoteBrowser {
* @param socket socket.io socket instance used to communicate with the client side * @param socket socket.io socket instance used to communicate with the client side
* @constructor * @constructor
*/ */
public constructor(socket: Socket, userId: string) { public constructor(socket: Socket, userId: string, poolId: string) {
this.socket = socket; this.socket = socket;
this.userId = userId; this.userId = userId;
this.interpreter = new WorkflowInterpreter(socket); this.interpreter = new WorkflowInterpreter(socket);
this.generator = new WorkflowGenerator(socket); this.generator = new WorkflowGenerator(socket, poolId);
} }
private initializeMemoryManagement(): void { private initializeMemoryManagement(): void {