wabbajack/Wabbajack.RateLimiter/ResourceLimitConfiguration.cs
2021-09-27 06:42:46 -06:00

15 lines
423 B
C#

namespace Wabbajack.RateLimiter
{
public class ResourceLimitConfiguration
{
public ResourceLimit Disk { get; init; } = new();
public ResourceLimit CPU { get; init; } = new();
public ResourceLimit Network { get; init; } = new();
}
public class ResourceLimit
{
public int MaxConcurrentTasks { get; set; } = -1;
public long MaxThroughput { get; set; } = -1;
}
}