Skip to content

Commit 81aaafb

Browse files
committed
Update documentation
1 parent aa49e90 commit 81aaafb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/client-concepts/connection-pooling/failover/falling-over.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ please modify the original csharp file found at the link and submit the PR with
1616
== Fail over
1717

1818
When using connection pooling and the pool has sufficient nodes a request will be retried if
19-
the call to a node throws an exception or returns a 502 or 503
19+
the call to a node throws an exception or returns a 502, 503 or 504
2020

2121
[source,csharp]
2222
----
@@ -104,7 +104,7 @@ audit = await audit.TraceCall(
104104
);
105105
----
106106

107-
If a call returns a valid http status code other than 502 or 503, the request won't be retried.
107+
If a call returns a valid http status code other than 502, 503 or 504, the request won't be retried.
108108

109109
IMPORTANT: Different requests may have different status codes that are deemed valid. For example,
110110
a *404 Not Found* response is a valid status code for an index exists request

src/Tests/ClientConcepts/ConnectionPooling/Failover/FallingOver.doc.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class FallingOver
99
/**[[falling-over]]
1010
* == Fail over
1111
* When using connection pooling and the pool has sufficient nodes a request will be retried if
12-
* the call to a node throws an exception or returns a 502 or 503
12+
* the call to a node throws an exception or returns a 502, 503 or 504
1313
*/
1414

1515
[U]
@@ -104,7 +104,7 @@ public async Task Http504FallsOver()
104104
}
105105

106106
/**
107-
* If a call returns a valid http status code other than 502 or 503, the request won't be retried.
107+
* If a call returns a valid http status code other than 502, 503 or 504, the request won't be retried.
108108
*
109109
* IMPORTANT: Different requests may have different status codes that are deemed valid. For example,
110110
* a *404 Not Found* response is a valid status code for an index exists request

0 commit comments

Comments
 (0)