[Service Bus] Respect TryTimeout when opening next available session link #26056
Labels
Client
This issue points to a problem in the data-plane of the library.
Messaging
Messaging crew
Service Bus
The service hardcodes a max of 1 minute and 5 seconds when accepting a session. This means the TryTimeout that 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. In the .NET library, we've found that using long polling results in better resource usage and avoids CPU spikes.
.NET fix - Azure/azure-sdk-for-net#30963
The text was updated successfully, but these errors were encountered: