Skip to content

WithCancel/WithTimeout contexts not canceling DB query #790

@gcemaj

Description

@gcemaj

When using ctx.WithTimeout or ctx.WithCancel the call on the golang side gets cancelled but i still see the long running query in the Postgres side.

I would hope/want/expect the call to be cancelled as well in the DB side?

Is there away to do that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions