1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-23 21:01:00 +03:00

wip, hooks refactor

This commit is contained in:
Nedyalko Dyakov
2025-04-22 21:00:48 +03:00
parent 420c4fbfd6
commit 5fac913204
4 changed files with 12 additions and 27 deletions

View File

@ -6,8 +6,6 @@ import (
"github.com/redis/go-redis/v9/internal/rand"
)
type ParentHooksMixinKey struct{}
func RetryBackoff(retry int, minBackoff, maxBackoff time.Duration) time.Duration {
if retry < 0 {
panic("not reached")