Explorar o código

Document CASSANDRA_OPTIONS

Updated the configuration doc to document CASSANDRA_OPTIONS.
jbiel %!s(int64=12) %!d(string=hai) anos
pai
achega
45d9a2c5ec
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      docs/configuration.rst

+ 12 - 0
docs/configuration.rst

@@ -570,6 +570,14 @@ use the ``TimeUUID`` type as a comparator::
 
     create column family task_results with comparator = TimeUUIDType;
 
+CASSANDRA_OPTIONS
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Options to be passed to the `pycassa connection pool`_ (optional).
+
+.. _`pycassa connection pool`: http://pycassa.github.com/pycassa/api/pycassa/pool.html
+.. setting:: CASSANDRA_DETAILED_MODE
+
 Example configuration
 ~~~~~~~~~~~~~~~~~~~~~
 
@@ -581,6 +589,10 @@ Example configuration
     CASSANDRA_READ_CONSISTENCY = "ONE"
     CASSANDRA_WRITE_CONSISTENCY = "ONE"
     CASSANDRA_DETAILED_MODE = True
+    CASSANDRA_OPTIONS = {
+        'timeout': 300,
+        'max_retries': 10
+    }
 
 .. _conf-messaging: