Options to configure resilience when fetching destinations.

Deprecated

Since v2.13.0. The resilience configuration will be removed in version 3.0 of the SDK and is switched on per default.

Hierarchy

  • ResilienceOptions

Properties

enableCircuitBreaker?: boolean

A boolean value that indicates whether to execute request to SCP-CF services using circuit breaker. ResilienceOptions.

Deprecated

Since v2.13.0. Option will be removed in version 3.0 of the SDK. Circuit breaker is enabled per default and it can not be disabled anymore.

timeout?: number

Timeout in milliseconds to retrieve the destination.

Deprecated

Since v2.13.0. Option will be removed in version 3.0 of the SDK. Timeout is enabled per default with a value of 10 seconds.

Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.