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

Description
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
Anything else?
No response