Skip to content

Better error reporting on query timeout - context deadline exceeded #187

@gingerwizard

Description

@gingerwizard

Currently, if the query deadline is exceeded (as controlled by QueryTimeout) in 2.0, the go driver returns a error querying the database: context deadline exceeded error. This isn't particularly clear and basically means the user needs to increase the query timeout (default 60s).

We should catch this specific error and wrap with something to indicate as such.

image

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

Waiting

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions