Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ internal async Task RunOperation(
{
// We are in a server busy state before we start processing.
// Since ServerBusyBaseSleepTime > remaining time for the operation, we don't wait for the entire Sleep time.
await Task.Delay(tryTimeout).ConfigureAwait(false);
await Task.Delay(tryTimeout, cancellationToken).ConfigureAwait(false);
throw new ServiceBusException(
ServerBusyExceptionMessage,
ServiceBusException.FailureReason.ServiceBusy);
Expand All @@ -128,7 +128,7 @@ internal async Task RunOperation(
{
if (IsServerBusy)
{
await Task.Delay(ServerBusyBaseSleepTime).ConfigureAwait(false);
await Task.Delay(ServerBusyBaseSleepTime, cancellationToken).ConfigureAwait(false);
}

try
Expand Down