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

add tests

This commit is contained in:
Nedyalko Dyakov
2025-04-22 15:35:57 +03:00
parent e0c224ddb4
commit 44628c5dbd
7 changed files with 619 additions and 28 deletions

View File

@ -6,6 +6,8 @@ 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")