恢复为同步模式
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
hang 2026-03-16 11:53:00 +08:00
parent b3976783df
commit 80378a23f7
1 changed files with 2 additions and 2 deletions

View File

@ -551,9 +551,9 @@ public class OSSService : IOSSService
var args = new GetObjectArgs() var args = new GetObjectArgs()
.WithBucket(minIOConfig.BucketName) .WithBucket(minIOConfig.BucketName)
.WithObject(ossRelativePath) .WithObject(ossRelativePath)
.WithCallbackStream(async stream => .WithCallbackStream( stream =>
{ {
await stream.CopyToAsync(pipe.Writer.AsStream()); stream.CopyTo(pipe.Writer.AsStream());
}); });
await minioClient.GetObjectAsync(args); await minioClient.GetObjectAsync(args);