Skip to content

Instantly share code, notes, and snippets.

@Kuniwak
Created July 18, 2019 08:12
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Kuniwak/2c149d8e6a6e2f28ff1087711122c539 to your computer and use it in GitHub Desktop.
--- appium-base-driver/lib/express/server.js 2019-07-17 12:37:19.000000000 +0900
+++ appium-base-driver/lib/express/server.js 2019-07-17 12:37:49.000000000 +0900
@@ -49,7 +49,7 @@ async function server (configureRoutes,
reject(err);
});
httpServer.on('connection', (socket) => {
- socket.setTimeout(600 * 1000); // 10 minute timeout
+ socket.setTimeout(600 * 10000); // 10 minute timeout
socket.on('error', reject);
});
configureServer(app, configureRoutes, allowCors);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment