|
|
@ -1,4 +1,4 @@
|
|
|
|
using System;
|
|
|
|
using System;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Linq;
|
|
|
|
using NLog;
|
|
|
|
using NLog;
|
|
|
|
using NzbDrone.Core.Download;
|
|
|
|
using NzbDrone.Core.Download;
|
|
|
@ -9,6 +9,7 @@ namespace NzbDrone.Core.HealthCheck.Checks
|
|
|
|
[CheckOn(typeof(ProviderAddedEvent<IDownloadClient>))]
|
|
|
|
[CheckOn(typeof(ProviderAddedEvent<IDownloadClient>))]
|
|
|
|
[CheckOn(typeof(ProviderUpdatedEvent<IDownloadClient>))]
|
|
|
|
[CheckOn(typeof(ProviderUpdatedEvent<IDownloadClient>))]
|
|
|
|
[CheckOn(typeof(ProviderDeletedEvent<IDownloadClient>))]
|
|
|
|
[CheckOn(typeof(ProviderDeletedEvent<IDownloadClient>))]
|
|
|
|
|
|
|
|
[CheckOn(typeof(ProviderStatusChangedEvent<IDownloadClient>))]
|
|
|
|
public class DownloadClientCheck : HealthCheckBase
|
|
|
|
public class DownloadClientCheck : HealthCheckBase
|
|
|
|
{
|
|
|
|
{
|
|
|
|
private readonly IProvideDownloadClient _downloadClientProvider;
|
|
|
|
private readonly IProvideDownloadClient _downloadClientProvider;
|
|
|
|