MCPcopy Create free account
hub / github.com/celzero/midway / NoProxyTimeoutSec

Function NoProxyTimeoutSec

midway/env/env.go:23–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23func NoProxyTimeoutSec() time.Duration {
24 timeoutsec := intenv("NOPROXY_TIMEOUT_SEC", 20)
25 return time.Second * time.Duration(timeoutsec)
26}
27
28func MaxInflightDNSQueries() int64 {
29 return intenv("MAX_INFLIGHT_DNS_QUERIES", 512)

Callers 1

proxy.goFile · 0.92

Calls 1

intenvFunction · 0.85

Tested by

no test coverage detected