Skip to content

Is waitForReady required for retry policies?  #7440

Closed
@cha-king

Description

@cha-king

Hi there! I'm having a little bit of a hard time wrapping my head around the retry policies. One thing I've noticed is that all of the examples seem to set waitForReady to true in the method config. Is this required for retries to occur? Without setting this to true, all of my (expectedly broken) connection attempts seem to immediately fail otherwise.

Is the idea that, with waitForReady enabled, any configured retries are occurring internally while I wait for the RPC connection? And if I use waitForReady without a retry policy and an error occurs, must I wait for a timeout or explicit cancellation before I'd see that error?

Thanks!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions