Skip to content

Commit

Permalink
Docker crashes when renderer process eats up too much memory
Browse files Browse the repository at this point in the history
  • Loading branch information
jackbravo committed Dec 7, 2020
1 parent 4334286 commit 240b5bd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions @app/e2e/cypress/plugins/index.js
Expand Up @@ -23,6 +23,12 @@ module.exports = (on, config) => {
},
};
on("file:preprocessor", wp(options));
on("before:browser:launch", (browser = {}, launchOptions) => {
if (browser.name === "chrome") {
launchOptions.args.push("--disable-dev-shm-usage");
return launchOptions;
}
});

if (process.env.CI) {
// CI seems to be pretty slow, lets be more forgiving
Expand Down

0 comments on commit 240b5bd

Please sign in to comment.