Is there a way to set the timeout for query execution in the following code snippet? I attempted to use the timeout property, but it does not seem to be functioning as expected.
const results = await clickhouse.query(query, {
timeout: 50,
}).toPromise();
I have experimented with setting the timeout configuration within the .query function. Additionally, in the connection configuration, I tried using session_timeout in the config object and timeout in the reqParams object. However, so far, I have been unable to successfully configure the timeouts within the query itself.
The npm package being utilized is: https://www.npmjs.com/package/clickhouse