-
Notifications
You must be signed in to change notification settings - Fork 606
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
Allow overriding retryOpts
.
#2764
Conversation
packages/common-grpc/test/service.js
Outdated
done(); | ||
} | ||
}); | ||
|
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
packages/common-grpc/src/service.js
Outdated
objectMode: objectMode, | ||
shouldRetryFn: GrpcService.shouldRetryRequest_, | ||
|
||
request: function() { | ||
setImmediate(() => stream.emit('request')); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
87152ea
to
4ed02f0
Compare
4ed02f0
to
2cb7431
Compare
Would it be possible to push a release too? These changes are required for Bigtable smart retries on mutate |
|
This PR allows overriding
retryOpts
, makes use ofretryOpts.currentRetryAttempt
and sendsrequest
events for each streaming request made.These changes are required for smart retries on the bigtable client
The changes there will look something as follows: