From 65ea8f73e459f9708827ed7dcfa980564022eb2f Mon Sep 17 00:00:00 2001 From: Ryan Manuel Date: Fri, 18 Feb 2022 17:57:34 -0600 Subject: [PATCH] chore: fix server performance flake (#20271) --- packages/server/lib/environment.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/server/lib/environment.js b/packages/server/lib/environment.js index c9e7c59e9e..4a20b9df24 100644 --- a/packages/server/lib/environment.js +++ b/packages/server/lib/environment.js @@ -62,6 +62,10 @@ try { // https://github.com/cypress-io/cypress/issues/15814 app.commandLine.appendSwitch('disable-dev-shm-usage') + // prevent navigation throttling when navigating in the browser rapid fire + // https://github.com/cypress-io/cypress/pull/20271 + app.commandLine.appendSwitch('disable-ipc-flooding-protection') + if (os.platform() === 'linux') { app.disableHardwareAcceleration() }