sdk-java
sdk-java copied to clipboard
Use longer retry interval on RESOURCE_EXHAUSTED
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