client: use vars for retry intervals

This commit is contained in:
Ethan Buchman
2017-11-28 07:47:51 +00:00
parent 9ed5787b6a
commit bb141794c8
3 changed files with 8 additions and 3 deletions

View File

@ -8,6 +8,11 @@ import (
cmn "github.com/tendermint/tmlibs/common"
)
const (
dialRetryIntervalSeconds = 3
echoRetryIntervalSeconds = 1
)
// Client defines an interface for an ABCI client.
// All `Async` methods return a `ReqRes` object.
// All `Sync` methods return the appropriate protobuf ResponseXxx struct and an error.