Skip to content

Commit

Permalink
feat: add dev environment for multi-geth
Browse files Browse the repository at this point in the history
and increase health check interval
  • Loading branch information
zcstarr committed Jun 20, 2019
1 parent 885ce16 commit be6bc86
Showing 1 changed file with 33 additions and 10 deletions.
43 changes: 33 additions & 10 deletions src/service-runner-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"teardown": []
},
"health": {
"interval": 5000,
"retries": 2,
"interval": 20000,
"retries": 5,
"port": "${DYNAMIC_TCP_PORT_1}",
"protocol": "tcp"
}
Expand All @@ -47,8 +47,31 @@
"teardown": []
},
"health": {
"interval": 5000,
"retries": 2,
"interval": 20000,
"retries": 5,
"port": "${DYNAMIC_TCP_PORT_1}",
"protocol": "tcp"
}
},
{
"name": "dev",
"args": {
"start": [
"--dev",
"--datadir",
"${SERVICE_DIR}/multi-geth/1.9.0/dev",
"--rpc",
"--rpcport",
"${DYNAMIC_TCP_PORT_1}",
"--rpccorsdomain",
"*"
],
"stop": [],
"teardown": []
},
"health": {
"interval": 20000,
"retries": 5,
"port": "${DYNAMIC_TCP_PORT_1}",
"protocol": "tcp"
}
Expand All @@ -69,8 +92,8 @@
"teardown": []
},
"health": {
"interval": 5000,
"retries": 2,
"interval": 20000,
"retries": 5,
"port": "${DYNAMIC_TCP_PORT_1}",
"protocol": "tcp"
}
Expand All @@ -92,8 +115,8 @@
"teardown": []
},
"health": {
"interval": 5000,
"retries": 2,
"interval": 20000,
"retries": 5,
"port": "${DYNAMIC_TCP_PORT_1}",
"protocol": "tcp"
}
Expand All @@ -115,8 +138,8 @@
"teardown": []
},
"health": {
"interval": 5000,
"retries": 2,
"interval": 20000,
"retries": 5,
"port": "${DYNAMIC_TCP_PORT_1}",
"protocol": "tcp"
}
Expand Down

0 comments on commit be6bc86

Please sign in to comment.