Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry PubSub streaming connections #5

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

rnarubin
Copy link
Collaborator

@rnarubin rnarubin commented Jan 7, 2022

Previously PubSub streaming would attempt to reconnect on failures while
reading messages, but not on the connection initiation. This change
includes the initiation in the retry logic.

This also changes the retry configuration for streaming connections to
match the values in the Java client library.

Previously PubSub streaming would attempt to reconnect on failures while
reading messages, but not on the connection initiation. This change
includes the initiation in the retry logic.

This also changes the retry configuration for streaming connections to
match the values in the Java client library.
@rnarubin rnarubin requested review from kyle-dorman and blogle January 7, 2022 22:56
@rnarubin rnarubin self-assigned this Jan 7, 2022
@rnarubin
Copy link
Collaborator Author

the doc check failure is potentially a regression in nightly rustdoc (rust-lang/rust#92662) so I'll merge without it

@rnarubin rnarubin merged commit f373324 into standard-ai:master Jan 10, 2022
@rnarubin rnarubin deleted the stream_retry branch January 10, 2022 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants