Skip to content

Commit

Permalink
Merge pull request #889 from koernchen02/patch-1
Browse files Browse the repository at this point in the history
Update setting-the-timeout.md
  • Loading branch information
AlexVanderbist authored Nov 25, 2024
2 parents 172b713 + 8caaf65 commit 107c106
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/miscellaneous-options/setting-the-timeout.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ Browsershot::url('https://example.com')
->timeout(120)
->save($pathToImage);
```

If you use Browsershot in conjunction with Docker and encounter unexpected timeout errors, it may be due to the PHP_CLI_SERVER_WORKERS environment variable allowing only one worker. It might be necessary to increase the value of this variable.

0 comments on commit 107c106

Please sign in to comment.