1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 18:29:17 +02:00

More realistic default heartbeat timeouts.

This commit is contained in:
Simo Kinnunen 2015-06-03 16:35:57 +09:00
parent 11a042d0aa
commit 2b84476c42

View file

@ -50,7 +50,7 @@ program
.option('--heartbeat-interval <ms>'
, 'heartbeat interval'
, Number
, 5000)
, 10000)
.option('--adb-host <host>'
, 'ADB host (defaults to 127.0.0.1)'
, String
@ -155,7 +155,7 @@ program
.option('--heartbeat-interval <ms>'
, '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 <ms>'
, 'consider devices with heartbeat older than this value dead'
, Number
, 10000)
, 30000)
.action(function(name, options) {
require('./units/reaper')({
name: name