Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 049ef1d

Browse files
committed
fix(nitro-node): more sensible wait time for tcp port when starting nitro
1 parent 91e2c24 commit 049ef1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nitro-node/src/nitro.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ export function spawnNitroProcess(): Promise<NitroModelOperationResponse> {
444444
reject(`child process exited with code ${code}`);
445445
});
446446

447-
tcpPortUsed.waitUntilUsed(PORT, 300, 30000).then(() => {
447+
tcpPortUsed.waitUntilUsed(PORT, 300, 5000).then(() => {
448448
log(`[NITRO]::Debug: Nitro is ready`);
449449
resolve({});
450450
});

0 commit comments

Comments
 (0)