Skip to content

Retry strategies are never reset for streams #205

@llucax

Description

@llucax

What happened?

When a GrpcStreamBroadcaster successfully starts streaming, it should reset the reset strategy, otherwise, every time there is a problem, the retry counter is incremented, even if a connection was made, resulting in potential very long delays for the first retry after a successful connection broke).

What did you expect instead?

The retry strategy should be reset after a successful connection.

Extra information

There was a previous attempt to fix this (#148) but it failed because it used initial_metadata() to try to detect the connection success, but that doesn't work and had to be reverted (#204).

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:codeAffects the code in generaltype:bugSomething isn't working

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions