mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
14 lines
377 B
C#
14 lines
377 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;
|
|
} |