MCPcopy Create free account
hub / github.com/dgraph-io/dgraph / runWithRetries

Function runWithRetries

dgraph/cmd/alpha/http_test.go:281–285  ·  view source on GitHub ↗
(method, contentType, url string, body string)

Source from the content-addressed store, hash-verified

279}
280
281func runWithRetries(method, contentType, url string, body string) (
282 *x.QueryResWithData, []byte, error) {
283 qr, respBody, _, err := runWithRetriesForResp(method, contentType, url, body)
284 return qr, respBody, err
285}
286
287// attach the grootAccessJWT to the request and sends the http request
288func runRequest(req *http.Request) (*x.QueryResWithData, []byte, *http.Response, error) {

Callers 4

alterSchemaHelperFunction · 0.85
dropAllFunction · 0.85
deletePredicateFunction · 0.85
TestAlterSanityFunction · 0.85

Calls 1

runWithRetriesForRespFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…