problem: grpc upstream can change set of provided upstreams

solution: periodically recheck and update current list
This commit is contained in:
Igor Artamonov
2019-08-31 21:01:38 -04:00
parent 26f1229f36
commit 8b7888eb8c
19 changed files with 453 additions and 142 deletions

View File

@@ -0,0 +1,26 @@
version: v1
upstreams:
- chain: ethereum
connection:
ethereum:
rpc:
url: "http://localhost:8545"
- chain: ethereum
id: test
connection:
ethereum:
rpc:
url: "http://localhost:8545"
- chain: ethereum
id: test/test
connection:
ethereum:
rpc:
url: "http://localhost:8545"
- chain: ethereum
id: !test
connection:
ethereum:
rpc:
url: "http://localhost:8545"