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

Function LogDQLRequestEnabled

worker/worker.go:177–179  ·  view source on GitHub ↗

LogDQLRequestEnabled returns true if logging of requests is enabled otherwise false.

()

Source from the content-addressed store, hash-verified

175
176// LogDQLRequestEnabled returns true if logging of requests is enabled otherwise false.
177func LogDQLRequestEnabled() bool {
178 return atomic.LoadInt32(&x.WorkerConfig.LogDQLRequest) > 0
179}

Callers 2

doQueryMethod · 0.92
processQueryFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected