- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for UntilContext (0.14 sec)
-
cni/pkg/install/install.go
if res.Delay() == 0 { // If its available, we haven't tried to install in over 5s, reset our hits and return i.hits = 0 return } // Otherwise, wait. We only wait up to 1s. sleep.UntilContext(ctx, min(res.Delay(), time.Second)) // Increment our hits. If we are spamming this loop, we will hit this many times as we continually are sending >1 RPS i.hits++
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 09 21:33:51 UTC 2024 - 13.5K bytes - Viewed (0)