sdk-java icon indicating copy to clipboard operation
sdk-java copied to clipboard

Use longer retry interval on RESOURCE_EXHAUSTED

Open mjameswh opened this issue 3 years ago • 0 comments

What was changed

Added longer retry interval on gRPC failures of type RESOURCE_EXHAUSTED. This interval delay is configurable by the user, but defaults to 1000 ms.

Why

This failure code indicates the server is having a hard time. Aggressive retry will worsen the situation and could lead to more serious outage. See https://github.com/temporalio/sdk-features/issues/96

mjameswh avatar Sep 29 '22 16:09 mjameswh