Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7516

Configurable client timeout for cqlsh

    XMLWordPrintableJSON

Details

    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:

      [connection]
      client_timeout = 20
      # Can also be set to None to disable:
      # client_timeout = None
      

      Attachments

        1. cqlsh_timeout.patch
          2 kB
          Ryan McGuire

        Activity

          People

            enigmacurry Ryan McGuire
            enigmacurry Ryan McGuire
            Ryan McGuire
            Mikhail Stepura
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: