Upgrading to latest gorealis.

This commit is contained in:
Renan DelValle 2018-03-13 16:57:58 -07:00
parent d38f2f967a
commit 0a93854a52
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
3 changed files with 4 additions and 5 deletions

5
Gopkg.lock generated
View file

@ -20,8 +20,7 @@
"gen-go/apache/aurora",
"response"
]
revision = "dbb08ded90109302f32ae52821d7a28919406389"
version = "v1.2.0"
revision = "94e7c878b4e54385b6fbbb7b0c1ce5a82865af2b"
[[projects]]
name = "github.com/pkg/errors"
@ -47,6 +46,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "2c5d0cedd3956478027941d8fd3f3a18b72a8ffd26f3fa3567a7dc7eaae16d50"
inputs-digest = "7cdf3e22d0409d2ae71180bc65c717e6b88f93c5dbf68c8fca796a6a8c32472c"
solver-name = "gps-cdcl"
solver-version = 1

View file

@ -2,7 +2,7 @@ required = ["git.apache.org/thrift.git/lib/go/thrift"]
[[constraint]]
name = "github.com/paypal/gorealis"
version = "1.2.0"
revision = "94e7c878b4e54385b6fbbb7b0c1ce5a82865af2b"
[[constraint]]
name = "github.com/spf13/cobra"

View file

@ -43,7 +43,7 @@ func connect(cmd *cobra.Command, args []string) {
realisOptions := []realis.ClientOption{realis.BasicAuth(username, password),
realis.ThriftJSON(),
realis.TimeoutMS(20000),
realis.BackOff(&realis.Backoff{
realis.BackOff(realis.Backoff{
Steps: 2,
Duration: 10 * time.Second,
Factor: 2.0,