[ https://issues.apache.org/jira/browse/CASSANDRA-7516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan McGuire updated CASSANDRA-7516: ------------------------------------ Description: 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 ~/.cassandra/cqlshrc: {code} [connection] client_timeout = 20 # Can also be set to None to disable: # client_timeout = None {code} was: 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} > 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 > Fix For: 2.1.1 > > 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 ~/.cassandra/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)