Skip to content

Commit

Permalink
fix(puppets): increased timeout for generating images
Browse files Browse the repository at this point in the history
Preventing brwoser timeout exceeds issue

fix #28
  • Loading branch information
onderceylan committed Aug 29, 2019
1 parent 47e2cbf commit 3191560
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module.exports = {
MANIFEST_ICON_FILENAME_PREFIX: 'manifest-icon',
APPLE_HIG_SPLASH_SCR_SPECS_DATA_GRID_SELECTOR: 'table tbody tr',
WAIT_FOR_SELECTOR_TIMEOUT: 1000,
BROWSER_SHELL_TIMEOUT: 60000,

SHELL_HTML_FOR_LOGO: (imgPath, backgroundColor = 'transparent', padding) => `\
<!DOCTYPE html>
Expand Down
1 change: 1 addition & 0 deletions puppets.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ const saveImages = async (imageList, source, output, options) => {
width,
height,
},
timeout: constants.BROWSER_SHELL_TIMEOUT,
args: constants.PUPPETEER_LAUNCH_ARGS,
});

Expand Down

0 comments on commit 3191560

Please sign in to comment.