Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

CommandTimeout not working #639

@satishkura-se

Description

@satishkura-se

Current Behavior

The CommandTimeout is not working .

using ClickHouseCommand chCommandToExecute = clickHouseConn.CreateCommand();
chCommandToExecute.CommandText = query;
if (timout.HasValue)
{
chCommandToExecute.CommandTimeout = (int)timout.Value.Seconds;
}
chCommandToExecute.Parameters.Clear();
if (parameters != null)
{
chCommandToExecute.Parameters.AddRange(parameters);
}

Logger.Info("Executing sp and filling DS");
using ClickHouseDataReader reader = (ClickHouseDataReader)await chCommandToExecute.ExecuteReaderAsync();

Expected Behavior

CommandTimeout not working

Steps To Reproduce

No response

Environment

- OS:
- Runtime:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions