Skip to content

Commit 3b02f72

Browse files
committed
Increase PHP instance wait timeout
1 parent aed0227 commit 3b02f72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/php-wasm/universal/src/lib/php-process-manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface ProcessManagerOptions {
2020
* cannot spawn a new one. If the timeout is reached, we assume
2121
* all the PHP instances are deadlocked and a throw MaxPhpInstancesError.
2222
*
23-
* Default: 5000
23+
* Default: 30000
2424
*/
2525
timeout?: number;
2626
/**
@@ -91,7 +91,7 @@ export class PHPProcessManager implements PHPInstanceManager {
9191
* Wait up to 5 seconds for resources to become available
9292
* before assuming that all the PHP instances are deadlocked.
9393
*/
94-
timeout: options?.timeout || 5000,
94+
timeout: options?.timeout || 30000,
9595
});
9696
}
9797

0 commit comments

Comments
 (0)