Skip to content

Commit 397ba7f

Browse files
fix
1 parent b32fb80 commit 397ba7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extensions/AzureBlob/Cosmos.DataTransfer.AzureBlobStorage/AzureBlobDataSink.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public async Task WriteToTargetAsync(Func<Stream, Task> writeToStream, IConfigur
7070
if (totalBytes != 0)
7171
{
7272
var totalMib = totalBytes / 1024 / 1024;
73-
var rate = totalMib / sw.ElapsedMilliseconds / 1000;
73+
var rate = totalMib / (sw.ElapsedMilliseconds / 1000);
7474

7575
logger.LogInformation("{BlobName}: transferred {TotalMiB} Mib to Azure Blob in {TotalTime} minutes ({Rate} MiB/s).", settings.BlobName, totalMib, sw.ElapsedMilliseconds / 1000 / 60, rate);
7676
}

0 commit comments

Comments
 (0)