1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

Reduce dependency chain

This commit is contained in:
Dimitrij Denissenko
2020-09-17 14:13:43 +01:00
parent 2eb40d83aa
commit 3fc96195a4
10 changed files with 59 additions and 64 deletions

View File

@ -3,7 +3,7 @@ package internal
import (
"time"
"golang.org/x/exp/rand"
"github.com/go-redis/redis/v8/internal/rand"
)
func RetryBackoff(retry int, minBackoff, maxBackoff time.Duration) time.Duration {