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

fix(sample): fix retry codes in retry sample code #458

Merged
merged 2 commits into from
Feb 1, 2019
Merged

fix(sample): fix retry codes in retry sample code #458

merged 2 commits into from
Feb 1, 2019

Conversation

mkls
Copy link
Contributor

@mkls mkls commented Jan 31, 2019

Fixes retry codes in sample code.
These were updated in #419, but it looks like both the previous and the updated values are wrong, gax expects retry codes as numbers.
The documentation for gax-nodejs also looks flawed (http://googleapis.github.io/gax-nodejs/global.html#RetryOptions), I've opened a PR to update the docs there to.

It takes a bit of time to figure out how to actually set up custom retry for pubsub, it would be a bit easier if the sample codes are updated.

  • Tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 31, 2019
@callmehiphop callmehiphop added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 31, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 31, 2019
@callmehiphop callmehiphop added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 31, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 31, 2019
@callmehiphop callmehiphop added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 1, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 1, 2019
@callmehiphop callmehiphop merged commit 4f074f7 into googleapis:master Feb 1, 2019
feywind pushed a commit to feywind/nodejs-pubsub that referenced this pull request Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants