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

[Service Bus] Pass abortsignal to retry() #8202

Merged
merged 1 commit into from
Apr 3, 2020

Conversation

ramya-rao-a
Copy link
Contributor

The retry() method takes an abort signal and uses it abort the waiting done in between retries.
This PR ensures that the abortSignal gets passed in to this method.

@@ -323,7 +323,7 @@ export class ReceiverImpl<ReceivedMessageT extends ReceivedMessage | ReceivedMes
connectionId: this._context.namespace.connectionId,
operation: receiveMessages,
operationType: RetryOperationType.receiveMessage,
abortSignal: undefined,
abortSignal: options?.abortSignal,
Copy link
Member

@HarshaNalluru HarshaNalluru Apr 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the only things that are left out in this PR are streaming receiver and the send operations.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

send operations & streaming receiver do not respect abort signal at the moment, @richardpark-msft is working on it

Copy link
Member

@HarshaNalluru HarshaNalluru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ramya-rao-a
Copy link
Contributor Author

Related to #4375

@ramya-rao-a ramya-rao-a merged commit e108e04 into Azure:master Apr 3, 2020
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