From 2b84476c42fcc10274f840823abce1163ebd673f Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Wed, 3 Jun 2015 16:35:57 +0900 Subject: [PATCH] More realistic default heartbeat timeouts. --- lib/cli.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cli.js b/lib/cli.js index 4f1d576f..971c66b5 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -50,7 +50,7 @@ program .option('--heartbeat-interval ' , 'heartbeat interval' , Number - , 5000) + , 10000) .option('--adb-host ' , 'ADB host (defaults to 127.0.0.1)' , String @@ -155,7 +155,7 @@ program .option('--heartbeat-interval ' , 'heartbeat interval' , Number - , 5000) + , 10000) .action(function(serial, options) { if (!options.connectSub) { this.missingArgument('--connect-sub') @@ -233,7 +233,7 @@ program .option('-t, --heartbeat-timeout ' , 'consider devices with heartbeat older than this value dead' , Number - , 10000) + , 30000) .action(function(name, options) { require('./units/reaper')({ name: name