Skip to content

Commit 801db62

Browse files
authored
fix: increase Symfony process timeout
1 parent 6def3e7 commit 801db62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core-php/src/TwigFunctions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ public static function bolt_ssr($html) {
5555
$ssrServerPath = trim($p->getOutput()).'/ssr-server.mjs';
5656

5757
$process = new Process(['node', '-r', 'esm', $ssrServerPath, $html]);
58+
$process->setTimeout(3600);
59+
$process->setIdleTimeout(120);
5860
$process->run();
5961
return $process->getOutput();
6062
}

0 commit comments

Comments
 (0)