Browse Source

Document CASSANDRA_OPTIONS

Updated the configuration doc to document CASSANDRA_OPTIONS.
jbiel 12 năm trước cách đây
mục cha
commit
45d9a2c5ec
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  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: