Skip to content

DOCSP-41823: autoSelectFamily and autoSelectFamilyAttemptTimeout options #944

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 2 commits 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 @@ -56,6 +56,21 @@ string, see :manual:`Connection Strings </reference/connection-string/>` in the
- ``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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

S: reword to avoid passive voice, maybe:

Suggested change
the value ``10`` is used instead.
the driver resets this value to ``10``.


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