mirror of
https://github.com/appium/appium.git
synced 2026-05-04 17:29:28 -05:00
change instruments timeout to something more reasonable
no need to wait 300s if instruments fails to launch
This commit is contained in:
@@ -68,7 +68,7 @@ Instruments.prototype.startSocketServer = function(sock) {
|
||||
this.exitHandler(1);
|
||||
};
|
||||
|
||||
var socketConnectTimeout = setTimeout(onSocketNeverConnect.bind(this), 300000);
|
||||
var socketConnectTimeout = setTimeout(onSocketNeverConnect.bind(this), 20000);
|
||||
|
||||
this.socketServer = net.createServer({allowHalfOpen: true}, function(conn) {
|
||||
if (!this.hasConnected) {
|
||||
|
||||
Reference in New Issue
Block a user