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
821 B
23 lines
821 B
using System;
|
|
using NLog;
|
|
using NzbDrone.Common.EnvironmentInfo;
|
|
using NzbDrone.Core.Messaging.Events;
|
|
using NzbDrone.Core.ThingiProvider.Status;
|
|
|
|
namespace NzbDrone.Core.Applications
|
|
{
|
|
public interface IApplicationStatusService : IProviderStatusServiceBase<ApplicationStatus>
|
|
{
|
|
}
|
|
|
|
public class ApplicationStatusService : ProviderStatusServiceBase<IApplication, ApplicationStatus>, IApplicationStatusService
|
|
{
|
|
public ApplicationStatusService(IApplicationStatusRepository providerStatusRepository, IEventAggregator eventAggregator, IRuntimeInfo runtimeInfo, Logger logger)
|
|
: base(providerStatusRepository, eventAggregator, runtimeInfo, logger)
|
|
{
|
|
MinimumTimeSinceInitialFailure = TimeSpan.FromMinutes(5);
|
|
MaximumEscalationLevel = 5;
|
|
}
|
|
}
|
|
}
|