.Using .net SDK 3.1.1
A call with default options
throws “Timeout 1m15s exceeded ”
The same call with pre-set timeout
var qOptions = new QueryOptions(); qOptions.Timeout(TimeSpan.FromMinutes(10)); var queryResult = await cluster.QueryAsync<T>(query, qOptions);
throws “The query was timed out via the Token.” in the same 1m 15s
Motivation is to let some but only few long running queries.