MCPcopy Create free account
hub / github.com/RedisGraph/redisgraph-go / GetTimeout

Method GetTimeout

graph.go:118–120  ·  view source on GitHub ↗

GetTimeout retrieves the timeout of the QueryOptions struct

()

Source from the content-addressed store, hash-verified

116
117// GetTimeout retrieves the timeout of the QueryOptions struct
118func (options *QueryOptions) GetTimeout() int {
119 return options.timeout
120}
121
122// Query executes a query against the graph.
123func (g *Graph) Query(q string) (*QueryResult, error) {

Callers 1

TestTimeoutFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestTimeoutFunction · 0.64