You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
recyclarr/tests/Recyclarr.Cli.TestLibrary/TestQualityItemLimitFactory.cs

17 lines
562 B

using Recyclarr.Cli.Pipelines.QualitySize.PipelinePhases.Limits;
using Recyclarr.Tests.TestLibrary;
using Recyclarr.TrashGuide;
using Recyclarr.TrashGuide.QualitySize;
namespace Recyclarr.Cli.TestLibrary;
public class TestQualityItemLimitFactory : IQualityItemLimitFactory
{
public Task<QualityItemLimits> Create(SupportedServices serviceType, CancellationToken ct)
{
return Task.FromResult(new QualityItemLimits(
TestQualityItemLimits.MaxUnlimitedThreshold,
TestQualityItemLimits.PreferredUnlimitedThreshold));
}
}