aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/sethgrid/pester/main.go
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2017-02-12 22:24:33 +0000
committerNiall Sheridan <nsheridan@gmail.com>2017-02-12 22:24:33 +0000
commitba4840c52becf73c2749c9ef0f2f09ed0b9d5c7f (patch)
tree61b839884d66c9dd8269e26117aa4e4c995ad119 /vendor/github.com/sethgrid/pester/main.go
parent6e00d0000e54f21a4a393e67fd914bda4d394f4a (diff)
Update dependencies
Diffstat (limited to 'vendor/github.com/sethgrid/pester/main.go')
-rw-r--r--vendor/github.com/sethgrid/pester/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/sethgrid/pester/main.go b/vendor/github.com/sethgrid/pester/main.go
index 8eb91fe..2771a23 100644
--- a/vendor/github.com/sethgrid/pester/main.go
+++ b/vendor/github.com/sethgrid/pester/main.go
@@ -292,7 +292,7 @@ func (c *Client) pester(p params) (*http.Response, error) {
}
// prevent a 0 from causing the tick to block, pass additional microsecond
- <-time.Tick(c.Backoff(i) + 1*time.Microsecond)
+ <-time.After(c.Backoff(i) + 1*time.Microsecond)
}
}(req, p)
}