Skip to content

Commit 94eee58

Browse files
DharmishthaVPatelDharmishtha Patel
andauthored
Update circuit breaker trigger timeout from 2 minutes to 30 seconds (#7224)
Co-authored-by: Dharmishtha Patel <[email protected]>
1 parent ae600dc commit 94eee58

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

transports/postgresql/connection-settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ snippet: postgresql-config-connectionstring
2525
To connect using token credentials, the following must be provided in the connection string:
2626

2727
- A User ID.
28-
- The password taken from the access token.
28+
- The password taken from the access token.
2929

3030
Since tokens are short-lived, a [data source builder must be utilized to handle password refreshes](https://devblogs.microsoft.com/dotnet/using-postgre-sql-with-dotnet-and-entra-id/). The following example uses Microsoft Entra ID.
3131

@@ -60,6 +60,6 @@ A built-in circuit breaker is used to handle intermittent PostgreSQL connectivit
6060

6161
### Wait time
6262

63-
The circuit breaker's default time to wait before triggering is two minutes. Use the `TimeToWaitBeforeTriggeringCircuitBreaker` method to change it.
63+
The circuit breaker's default time to wait before triggering is 30 seconds. Use the `TimeToWaitBeforeTriggeringCircuitBreaker` method to change it.
6464

6565
snippet: postgresql-TimeToWaitBeforeTriggeringCircuitBreaker

transports/sql/connection-settings.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,9 @@ snippet: sqlserver-custom-connection-factory
5555

5656
A built-in circuit breaker is used to handle intermittent SQL Server connectivity problems. When a failure occurs while trying to connect, a circuit breaker enters an *armed* state. If the failure is not resolved before the configured *wait time* elapses, the circuit breaker triggers the [critical errors](/nservicebus/hosting/critical-errors.md) handling procedure.
5757

58-
partial: circuit-breaker
58+
### Wait time
59+
60+
The circuit breaker's default time to wait before triggering is 30 seconds. Use the `TimeToWaitBeforeTriggeringCircuitBreaker` method to change it.
61+
62+
snippet: sqlserver-TimeToWaitBeforeTriggeringCircuitBreaker
63+

transports/sql/connection-settings_circuit-breaker_sqltransport_[6,).partial.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)