mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-28 10:10:46 +00:00
Merge branch 'origin/main' into 'next-release/main'
This commit is contained in:
commit
2eb035b63e
|
@ -53,6 +53,7 @@ func (c *client) Close() error {
|
|||
|
||||
func (c *client) newBackOff() backoff.BackOff {
|
||||
b := backoff.NewExponentialBackOff()
|
||||
b.MaxElapsedTime = 0
|
||||
b.MaxInterval = 10 * time.Second //nolint: gomnd
|
||||
b.InitialInterval = 10 * time.Millisecond //nolint: gomnd
|
||||
return b
|
||||
|
|
Loading…
Reference in a new issue