Skip to content
Open
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
28 changes: 25 additions & 3 deletions modules/ref/pages/client-settings.adoc
Original file line number Diff line number Diff line change
@@ -1,12 +1,34 @@
= Client Settings
:nav-title: Client Settings
:page-topic-type: reference
:page-aliases: ROOT:client-settings
:page-aliases: ROOT:client-settings,ROOT:configuring-the-client,ROOT:env-config

[abstract]
Client settings

NOTE: Other Client Settings will be added to this document at a later date.

== Timeout Options
=== Timeout Options Reference

Name: *Key-Value Timeout*::
Builder Method: `TimeoutConfig.kvTimeout(Duration)`
+
Default: `2.5s` -- _but see TIP, below_
+
System Property: `com.couchbase.env.timeout.kvTimeout`
+
The Key/Value default timeout is used on operations which are performed on a specific key if not overridden by a custom timeout.
This includes all commands like get(), getFromReplica() and all mutation commands, but does not include operations that are performed with enhanced durability requirements.
+
TIP: xref:concept-docs:durability-replication-failure-considerations.adoc#synchronous-writes[Durable Write operations] have their own timeout setting, `kvDurableTimeout`, see below.

Name: *Key-Value Durable Operation Timeout*::
Builder Method: `TimeoutConfig.kvDurableTimeout(Duration)`
+
Default: `10s`
+
System Property: `com.couchbase.env.timeout.kvDurableTimeout`
+
Key/Value operations with enhanced durability requirements may take longer to complete, so they have a separate default timeout.
+
WARNING: The `kvDurableTimeout` property is not part of the stable API and may change or be removed at any time.