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

Pass client timeout to server when accepting next session #30963

Merged
merged 5 commits into from
Sep 7, 2022

Conversation

JoshLove-msft
Copy link
Member

Fixes #30962

@JoshLove-msft
Copy link
Member Author

/azp run net - servicebus - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@JoshLove-msft
Copy link
Member Author

/azp run net - servicebus - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JoshLove-msft
Copy link
Member Author

/azp run net - servicebus - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JoshLove-msft
Copy link
Member Author

/azp run net - servicebus - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JoshLove-msft
Copy link
Member Author

/azp run net - servicebus - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JoshLove-msft
Copy link
Member Author

/azp run net - servicebus - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JoshLove-msft
Copy link
Member Author

/azp run net - servicebus - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JoshLove-msft
Copy link
Member Author

/azp run net - servicebus - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JoshLove-msft JoshLove-msft enabled auto-merge (squash) September 7, 2022 04:58
@JoshLove-msft JoshLove-msft merged commit 441d42d into Azure:main Sep 7, 2022
@@ -72,6 +72,13 @@ internal class AmqpConnectionScope : TransportConnectionScope
/// </summary>
private static int AuthorizationBaseJitterSeconds { get; } = 30;

///// <summary>
Copy link
Member

Choose a reason for hiding this comment

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

I think there may have accidentally been more forward-slashes than you wanted

Copy link
Member Author

Choose a reason for hiding this comment

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

Ugh.. This is from when I was testing something and had commented out the new property.

Copy link
Member Author

Choose a reason for hiding this comment

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

jeremymeng added a commit to jeremymeng/azure-sdk-for-js that referenced this pull request Sep 13, 2022
This is ported from .NET PR Azure/azure-sdk-for-net#30963

he service hardcodes a max of 1 minute and 5 seconds when accepting a session.
This means the retry timeout the user specifies in the client is ignored if they
specify a value higher than this. We should specify the timeout property in the
link settings properties when opening a link for next available session to
support long polling.
jeremymeng added a commit to Azure/azure-sdk-for-js that referenced this pull request Sep 15, 2022
This is ported from .NET PR Azure/azure-sdk-for-net#30963

The service hardcodes a max of 1 minute and 5 seconds when accepting a session.
This means the retry timeout the user specifies in the client is ignored if they
specify a value higher than this. We should specify the timeout property in the
link settings properties when opening a link for next available session to
support long polling.
sofiar-msft pushed a commit to sofiar-msft/azure-sdk-for-net that referenced this pull request Dec 7, 2022
* Pass client timeout to server when accepting next session

* Fix test

* Avoid logging error for link abort

* await using

* test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Service Bus] Respect TryTimeout when opening next available session link
4 participants