Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiprodcoder/MIXAPI
/ RandomSleep
Function
RandomSleep
common/utils.go:213–216 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
211
}
212
213
func
RandomSleep() {
214
// Sleep for 0-3000 ms
215
time.Sleep(time.Duration(rand.Intn(3000)) * time.Millisecond)
216
}
217
218
func
GetPointer[T any](v T) *T {
219
return
&v
Callers
1
Redeem
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected