Skip to content

Commit d2cf7f8

Browse files
author
Kristoffer Alfheim
authored
Merge pull request #11 from antonbormotov/set-process-builder-timeout
Pass timeout option to the Process Builder
2 parents 46e4906 + 782fa14 commit d2cf7f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CssGenerators/CriticalGenerator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ public function generate($uri, $alias = null)
9898
]);
9999

100100
if (!is_null($this->timeout)) {
101+
$builder->setTimeout($this->timeout);
102+
101103
$builder->add('--timeout='.$this->timeout);
102104
}
103105

0 commit comments

Comments
 (0)