forked from Azure/azure-sdk-for-js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Service Bus] Allow timeout lesser than 60 seconds (Azure#8805)
* Move the duplicated getRetryAttemptTimeoutInMs from event-hubs and service-bus to the core-amqp * changelog * updates as suggested * Not export getRetryAttemptTimeoutInMs from core-amqp * undo changelog * undo version updates * fix event-hubs * remove excess space * remove the helper method in service-bus * throw errors for invalid timeouts * this._retryOptions.timeoutInMs! <= timeTakenByInit guard * get rid of ! from timeoutInMs! * Undo changes to event-hubs * Changes suggested by Ramya * Update sdk/servicebus/service-bus/src/serviceBusClient.ts Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com> Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
- Loading branch information
1 parent
c0c8bce
commit 1028761
Showing
3 changed files
with
29 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters