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] Increase timeout for settling msgs to 60sec #3764 #4907

Merged
merged 1 commit into from Aug 27, 2019

Conversation

ramya-rao-a
Copy link
Contributor

We currently have a timeout of 20 seconds for the message settle operation.
If the service does not acknowledge the result of the operation by then, we throw a timeout error.

It turns out that 60 sec is the default operation timeout to be used as per the libraries in other languages and as per the suggestion from the service team.

This PR makes this change for the timeout.

Related issue: #3764

@@ -1031,7 +1030,7 @@ export class MessageReceiver extends LinkEntity {
"message may or may not be successful"
};
return reject(translate(e));
}, messageDispositionTimeout);
}, Constants.defaultOperationTimeoutInSeconds);
Copy link
Member

Choose a reason for hiding this comment

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

Uh oh, looks like this should have been converted to milliseconds here. :(

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.

None yet

3 participants