aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/sethgrid/pester/main.go
diff options
context:
space:
mode:
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)
}