Skip to content

Use CancellationTimeout to set timeouts for KILL QUERY command #951

Description

@bgrainger

There are two hard-coded three-second timeouts when cancelling a query:

csb.ConnectionTimeout = 3u;

killCommand.CommandTimeout = 3;

It seems like these should be initialised from CancellationTimeout (in the connection string) instead. If the user needs to raise that for their database, they probably need these timeouts to be longer, too.

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