MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / minDuration

Function minDuration

utils/ssh.go:373–378  ·  view source on GitHub ↗
(a, b time.Duration)

Source from the content-addressed store, hash-verified

371}
372
373func minDuration(a, b time.Duration) time.Duration {
374 if a < b {
375 return a
376 }
377 return b
378}
379
380func shouldRetryDial(err error) bool {
381 if err == nil {

Callers 2

advanceBackoffMethod · 0.85
WaitForTCPPortFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected