[ https://issues.apache.org/jira/browse/CASSANDRA-7516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055681#comment-14055681 ]
Ryan McGuire commented on CASSANDRA-7516: ----------------------------------------- Works on 2.1 and trunk. 2.0 is on the older driver and may have a simple fix as well, but not this one. > Configurable client timeout for cqlsh > ------------------------------------- > > Key: CASSANDRA-7516 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7516 > Project: Cassandra > Issue Type: Improvement > Components: Tools > Reporter: Ryan McGuire > Assignee: Ryan McGuire > Attachments: cqlsh_timeout.patch > > > Here's a patch for cqlsh to set the default client timeout. > 10s is usually a good default, but this is useful for testing specific > timeout related bugs, especially where you've intentionally set the C* > timeouts higher. > Configurable in ~/.cqlshrc: > {code} > [connection] > client_timeout = 20 > # Can also be set to None to disable: > # client_timeout = None > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)