feat: update state as true on run creation

This commit is contained in:
Rohit
2025-01-24 13:48:49 +05:30
parent 067627bf39
commit 8619435f2d

View File

@@ -59,7 +59,7 @@ export const createRemoteBrowserForRun = (userId: string): string => {
async (socket: Socket) => {
const browserSession = new RemoteBrowser(socket);
await browserSession.initialize(userId);
browserPool.addRemoteBrowser(id, browserSession, true);
browserPool.addRemoteBrowser(id, browserSession, true, true);
socket.emit('ready-for-run');
});
return id;