Skip to content

Commit

Permalink
Merge pull request #11 from antonbormotov/set-process-builder-timeout
Browse files Browse the repository at this point in the history
Pass timeout option to the Process Builder
  • Loading branch information
Kristoffer Alfheim authored Mar 7, 2017
2 parents 46e4906 + 782fa14 commit d2cf7f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CssGenerators/CriticalGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ public function generate($uri, $alias = null)
]);

if (!is_null($this->timeout)) {
$builder->setTimeout($this->timeout);

$builder->add('--timeout='.$this->timeout);
}

Expand Down

0 comments on commit d2cf7f8

Please sign in to comment.