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:
parent
11a042d0aa
commit
2b84476c42
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue