Merge pull request #17 from jetkvm/dev

Release 20250212
This commit is contained in:
Adam Shiervani 2025-02-12 14:04:08 +01:00 committed by GitHub
commit 8034536083
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@ export const CreateSession = async (req: express.Request, res: express.Response)
const resp: any = await new Promise((res, rej) => {
timeout = setTimeout(() => {
rej(new Error("Timeout waiting for response from ws"));
}, 5000);
}, 15000);
// Hoist the res and rej functions to be used in the finally block for cleanup
wsRes = res;