MCPcopy
hub / github.com/dgraph-io/dgraph / Init

Function Init

edgraph/server.go:1392–1394  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1390var serverOverloadErr = errors.New("429 Too Many Requests. Please throttle your requests")
1391
1392func Init() {
1393 maxPendingQueries = x.Config.Limit.GetInt64("max-pending-queries")
1394}
1395
1396func (s *Server) doQuery(ctx context.Context, req *Request) (resp *api.Response, rerr error) {
1397 if ctx.Err() != nil {

Callers 1

runFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected