* Codebase cleanup
This commit is contained in:
2025-12-09 01:06:38 +00:00
committed by GitHub
parent 7dec532e18
commit d9888f1a56
16 changed files with 39 additions and 25 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ type Backoff struct {
func NewBackoff() *Backoff {
return &Backoff{
attempt: 0,
rng: rand.New(rand.NewSource(time.Now().UnixNano())),
// #nosec G404 -- math/rand is appropriate for backoff jitter; cryptographic randomness not needed
rng: rand.New(rand.NewSource(time.Now().UnixNano())),
}
}