Skip to content

[Backport v6.9] DOCSP-41823: autoSelectFamily and autoSelectFamilyAttemptTimeout options #946

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions source/fundamentals/connection/connection-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,21 @@ parameters of the connection URI to specify the behavior of the client.
- ``null``
- Specifies the database that connections authenticate against.

* - **autoSelectFamily**
- boolean
- ``true``
- If set to ``true``, the socket attempts to connect to IPv6 and IPv4 addresses
until a connection is established. If available, the driver will select
the first IPv6 address.

* - **autoSelectFamilyAttemptTimeout**
- non-negative integer
- ``null``
- Specifies the amount of time in milliseconds to wait for a connection
attempt to finish before trying the next address when using the
``autoSelectFamily`` option. If set to a positive integer less than ``10``,
the value ``10`` is used instead.

* - **compressors**
- comma separated list of strings, for example, "snappy,zlib,zstd"
- ``null``
Expand Down
Loading