Skip to content

Commit

Permalink
engine: give handshake 5seconds to return
Browse files Browse the repository at this point in the history
  • Loading branch information
josephjclark committed Jan 24, 2024
1 parent 6c8fbaa commit aaa35eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/engine-multi/src/api/validate-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { EngineAPI } from '../types';
export default async (api: EngineAPI) => {
try {
// TODO argument drive this
await api.callWorker('handshake', [], {}, { timeout: 500 });
await api.callWorker('handshake', [], {}, { timeout: 5000 });
} catch (e) {
console.error(e);
throw new Error('Invalid worker path');
Expand Down

0 comments on commit aaa35eb

Please sign in to comment.