Skip to content

Commit 7fdc76d

Browse files
phactmsmygit
andauthored
cloud config connect_timeout (#1224)
Co-authored-by: Madhavan <msmygit@users.noreply.github.com>
1 parent c4a808d commit 7fdc76d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/cloud.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@ the default temporary directory of the system will be used as base dir.
3838
}
3939
...
4040
41+
connect_timeout
42+
+++++++++++++++++++
43+
`cloud_config.connect_timeout` controls the timeout for the request connection against the Astra DB metadata service in seconds. Increase this value if the error message suggests a timeout in `get_cloud_config`.
44+
45+
46+
.. code:: python
47+
48+
cloud_config = {
49+
'secure_connect_bundle': '/path/to/secure-connect-dbname.zip',
50+
'connect_timeout': 120
51+
}
52+
...
53+
54+
4155
Astra Differences
4256
==================
4357
In most circumstances, the client code for interacting with an Astra cluster will be the same as interacting with any other Cassandra cluster. The exceptions being:

0 commit comments

Comments
 (0)