Skip to content

Commit

Permalink
Increase the timeout for Jigsaw. Require newest version of Laravel cl…
Browse files Browse the repository at this point in the history
…ient
  • Loading branch information
aarondfrancis committed Jul 18, 2021
1 parent f2cd011 commit 81968b9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

## 0.1.2 - 2021-07-18

### Changed
- Increase the default timeout to 15 seconds to cover large Jigsaw sites.

## 0.1.1 - 2021-06-17

### Changed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"laravel"
],
"require": {
"torchlight/torchlight-laravel": "^0.4.3",
"torchlight/torchlight-laravel": "^0.4.5",
"tightenco/jigsaw": "^1.3.27"
},
"require-dev": {
Expand Down
5 changes: 5 additions & 0 deletions src/Commands/InstallTorchlight.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ protected function stub()
// that you should *not* use the same path that Jigsaw uses,
// which is `cache` at the root level of your app.
'cache_path' => 'torchlight_cache',
// Because of the way Jigsaw works as a static site generator, all the
// code blocks for your entire site will be sent as one request. We
// increase the timeout to 15 seconds to cover for that.
'request_timeout' => 15
];
EOT;
}
Expand Down

0 comments on commit 81968b9

Please sign in to comment.