Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

export should fail on timeouts #378

Merged
merged 1 commit into from
Aug 25, 2018
Merged

export should fail on timeouts #378

merged 1 commit into from
Aug 25, 2018

Conversation

Rich-Harris
Copy link
Member

We were exporting in an environment where preload requests were never responding, and getting no feedback. With this PR, sapper export will fail if any page takes longer than 5,000ms (configurable with --timeout, and can be disabled with --no-timeout) to fetch.

@Rich-Harris Rich-Harris merged commit d5bf206 into master Aug 25, 2018
@Rich-Harris Rich-Harris deleted the export-timeout branch August 25, 2018 12:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant