mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +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>'
|
.option('--heartbeat-interval <ms>'
|
||||||
, 'heartbeat interval'
|
, 'heartbeat interval'
|
||||||
, Number
|
, Number
|
||||||
, 5000)
|
, 10000)
|
||||||
.option('--adb-host <host>'
|
.option('--adb-host <host>'
|
||||||
, 'ADB host (defaults to 127.0.0.1)'
|
, 'ADB host (defaults to 127.0.0.1)'
|
||||||
, String
|
, String
|
||||||
|
@ -155,7 +155,7 @@ program
|
||||||
.option('--heartbeat-interval <ms>'
|
.option('--heartbeat-interval <ms>'
|
||||||
, 'heartbeat interval'
|
, 'heartbeat interval'
|
||||||
, Number
|
, Number
|
||||||
, 5000)
|
, 10000)
|
||||||
.action(function(serial, options) {
|
.action(function(serial, options) {
|
||||||
if (!options.connectSub) {
|
if (!options.connectSub) {
|
||||||
this.missingArgument('--connect-sub')
|
this.missingArgument('--connect-sub')
|
||||||
|
@ -233,7 +233,7 @@ program
|
||||||
.option('-t, --heartbeat-timeout <ms>'
|
.option('-t, --heartbeat-timeout <ms>'
|
||||||
, 'consider devices with heartbeat older than this value dead'
|
, 'consider devices with heartbeat older than this value dead'
|
||||||
, Number
|
, Number
|
||||||
, 10000)
|
, 30000)
|
||||||
.action(function(name, options) {
|
.action(function(name, options) {
|
||||||
require('./units/reaper')({
|
require('./units/reaper')({
|
||||||
name: name
|
name: name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue