Skip to content

Commit

Permalink
fix: increase Symfony process timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sghoweri committed Mar 4, 2019
1 parent 6def3e7 commit 801db62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core-php/src/TwigFunctions.php
Expand Up @@ -55,6 +55,8 @@ public static function bolt_ssr($html) {
$ssrServerPath = trim($p->getOutput()).'/ssr-server.mjs';

$process = new Process(['node', '-r', 'esm', $ssrServerPath, $html]);
$process->setTimeout(3600);
$process->setIdleTimeout(120);
$process->run();
return $process->getOutput();
}
Expand Down

0 comments on commit 801db62

Please sign in to comment.