1111
This commit is contained in:
@@ -7,6 +7,12 @@ using System.Threading.Tasks;
|
||||
namespace IM.InitCommon
|
||||
{
|
||||
public class StorageOptions
|
||||
{
|
||||
public string DefaultProviderCode { get; set; }
|
||||
public Dictionary<string, StorageProviderOptions> Providers { get; set; }
|
||||
}
|
||||
|
||||
public class StorageProviderOptions
|
||||
{
|
||||
public string ProviderCode { get; init; } = default!;
|
||||
|
||||
@@ -37,6 +43,7 @@ namespace IM.InitCommon
|
||||
public long MaxObjectSizeBytes { get; init; } = 1024L * 1024 * 1024;
|
||||
|
||||
public int MinPartSizeBytes { get; init; } = 5 * 1024 * 1024;
|
||||
public int DefaultPartSizeBytes { get; init; } = 5 * 1024 * 1024;
|
||||
|
||||
public int MaxPartCount { get; init; } = 10_000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user