fix.plonds-s3-upload-timeout

This commit is contained in:
lincube
2026-06-02 08:51:53 +08:00
parent 03e4442e74
commit cf08269e15
2 changed files with 70 additions and 7 deletions

View File

@@ -7,4 +7,9 @@ public sealed record PlondsS3ClientOptions(
string AccessKey,
string SecretKey,
string PublicBaseUrl,
string PublicBaseKeyPrefix = "");
string PublicBaseKeyPrefix = "")
{
public TimeSpan RequestTimeout { get; init; } = TimeSpan.FromMinutes(30);
public int MaxUploadAttempts { get; init; } = 3;
}