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.
23 lines
764 B
23 lines
764 B
7 years ago
|
using System;
|
||
|
using NLog;
|
||
|
using NzbDrone.Core.Messaging.Events;
|
||
|
using NzbDrone.Core.ThingiProvider.Status;
|
||
|
|
||
|
namespace NzbDrone.Core.Download
|
||
|
{
|
||
|
public interface IDownloadClientStatusService : IProviderStatusServiceBase<DownloadClientStatus>
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public class DownloadClientStatusService : ProviderStatusServiceBase<IDownloadClient, DownloadClientStatus>, IDownloadClientStatusService
|
||
|
{
|
||
|
public DownloadClientStatusService(IDownloadClientStatusRepository providerStatusRepository, IEventAggregator eventAggregator, Logger logger)
|
||
|
: base(providerStatusRepository, eventAggregator, logger)
|
||
|
{
|
||
|
MinimumTimeSinceInitialFailure = TimeSpan.FromMinutes(5);
|
||
|
MaximumEscalationLevel = 5;
|
||
|
}
|
||
|
}
|
||
|
}
|