Skip to content

WithWaitForReady: Set retry timeout? #8288

@jmariller

Description

@jmariller

Hello,

I am using withWaitForReady to ensure calls will be done only once the channel is ready. What I noticed is, when starting my client some time before starting the server (for example around 30 seconds), it takes a while for the client to connect (e.g. around 10 seconds, sometimes a bit less/more) - and this seems to be exponential to the waiting time on the client side.

What I found in the gRPC documentation is this: https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md
But I am not sure how to tell gRPC that I want the retry timeout to be more constant/shorter - can you help? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions