Skip to content

Commit

Permalink
added missing ConfigureAwait
Browse files Browse the repository at this point in the history
Signed-off-by: OsakaRuma <[email protected]>
  • Loading branch information
iamscottxu committed Aug 29, 2024
1 parent 101e7b1 commit 352d4c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ await EntryDownloadCompressedFile(zipFileDownloadThreadLocal.Value!, taskData, c
{
try
{
await Task.Delay(_autoRetryDelayMillisecond, cancellationToken);
await Task.Delay(_autoRetryDelayMillisecond, cancellationToken).ConfigureAwait(false);
retry = true;
continue;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static async Task<SingleFileHttpPartialDownloadStream> GetInstanceAsync(H
CancellationToken cancellationToken = default)
{
ValidateStartBytesAndEndBytes(startBytes, endBytes, fileLength);
var ipAddressUri = await fileUri.GetIpAddressUriAsync(cancellationToken);
var ipAddressUri = await fileUri.GetIpAddressUriAsync(cancellationToken).ConfigureAwait(false);
var responseMessage = await httpClient.GetPartialAsync(ipAddressUri, fileUri.Host, startBytes,
endBytes + (startBytes.HasValue ? -1 : 0), mediaType, cancellationToken).ConfigureAwait(false);
try
Expand Down

0 comments on commit 352d4c1

Please sign in to comment.