I have a question about controlling the timeout behaviour of Cassandra queries.
I am trying to set up a Cassandra client using gocql. This client is very simple in that it only performs look ups and it doesn't update the database. I want my client to timeout when Cassandra does not respond within a given time frame. I noticed that there is the Timeout parameter in ClusterConfig, and that NewCluster (which I use) sets it to 600ms. However, I am not getting read errors when this timeout is exceeded, I have set this timeout very low (1ms for example) to check whether this parameter works, but I still don't get a timeout error.
I am missing something on how this parameter should be used?
Thank you!
Alexey