namespace MiGu.Server.Configs;

public record TaskAllocationPolicy(
    string Mode,
    bool LoadBalance,
    int MaxQueuePerCar)
{
    public static TaskAllocationPolicy Default() => new(
        Mode: "leastLoad",
        LoadBalance: true,
        MaxQueuePerCar: 3);
}
