MCPcopy Create free account
hub / github.com/InferCore/InferCore / httpClientTimeoutMS

Function httpClientTimeoutMS

internal/retrieval/common.go:28–33  ·  view source on GitHub ↗
(kb config.KnowledgeBaseConfig)

Source from the content-addressed store, hash-verified

26}
27
28func httpClientTimeoutMS(kb config.KnowledgeBaseConfig) int {
29 if kb.HTTPTimeoutMS > 0 {
30 return kb.HTTPTimeoutMS
31 }
32 return 30000
33}

Callers 3

NewHTTPJSONKBFunction · 0.85
NewMeilisearchKBFunction · 0.85
NewOpenSearchKBFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected