sdk-java
sdk-java copied to clipboard
Add option to configure the deadline of `ChannelManager#getServerCapabilities`
Expected Behavior
When I setRpcTimeout in WorkflowServiceStubsOptions it overrides the deadline in getServerCapabilitiesWithRetryOrThrow
Actual Behavior
I'm enforced to use deprecated setHealthCheckAttemptTimeout because it is still used in the ChannelManager
Steps to Reproduce the Problem
- Set
rpcTimeout
inWorkflowServiceStubsOptions
. - Observe that it does not override the deadline in
getServerCapabilitiesWithRetryOrThrow
- Note the usage of the deprecated
healthCheckAttemptTimeout
inChannelManager
.
Specifications
- Version: Java SDK 1.24.0