joao-r-reis opened a new pull request, #1955:
URL: https://github.com/apache/cassandra-gocql-driver/pull/1955

   In GoCQL v1.x, the read deadline is set to 0 when reading a new response 
frame to prevent the connection from closing when it idles.
   
   In v2.0.0 a regression was introduced causing the read deadline to be set to 
clusterCfg.Timeout for every read operation which leads to connections 
constantly erroring and reconnecting if they idle.
   
   This patch fixes this regression by implementing the behavior of 1.x. A 
follow up ticket (CASSGO-127) will rework the timeout configuration so users 
can tune the read and write timeouts independently from the request timeout.
   
   Patch by João Reis; reviewed by Bohdan Siryk for CASSGO-125


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to