diff --git a/pkg/utils/general.go b/pkg/utils/general.go index 7785543091de..215e31f03571 100644 --- a/pkg/utils/general.go +++ b/pkg/utils/general.go @@ -22,7 +22,7 @@ import ( ) func SleepWithJitter(d time.Duration) { - time.Sleep(d + JitterIt(d)) + time.Sleep(JitterIt(d)) } func JitterIt[T float64 | time.Duration](d T) T {