diff --git a/src/NzbDrone.Core/HealthCheck/HealthCheckService.cs b/src/NzbDrone.Core/HealthCheck/HealthCheckService.cs index 19820a601..04b401826 100644 --- a/src/NzbDrone.Core/HealthCheck/HealthCheckService.cs +++ b/src/NzbDrone.Core/HealthCheck/HealthCheckService.cs @@ -141,7 +141,6 @@ namespace NzbDrone.Core.HealthCheck // If we haven't previously re-run health checks after startup grace period run startup checks again and track so they aren't run again. // Return early after re-running checks to avoid triggering checks multiple times. - if (!_hasRunHealthChecksAfterGracePeriod && !_isRunningHealthChecksAfterGracePeriod && DateTime.UtcNow > _startupGracePeriodEndTime) { _isRunningHealthChecksAfterGracePeriod = true; diff --git a/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs b/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs index 9f78d347f..782777944 100644 --- a/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs +++ b/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs @@ -8,6 +8,7 @@ using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Common.Processes; using NzbDrone.Common.Serializer; +using NzbDrone.Core.HealthCheck; using NzbDrone.Core.Music; using NzbDrone.Core.ThingiProvider; using NzbDrone.Core.Validation; diff --git a/src/NzbDrone.Core/Notifications/NotificationService.cs b/src/NzbDrone.Core/Notifications/NotificationService.cs index cf53352f0..0a13400be 100644 --- a/src/NzbDrone.Core/Notifications/NotificationService.cs +++ b/src/NzbDrone.Core/Notifications/NotificationService.cs @@ -204,7 +204,6 @@ namespace NzbDrone.Core.Notifications { // Don't send health check notifications during the start up grace period, // once that duration expires they they'll be retested and fired off if necessary. - if (message.IsInStartupGraceperiod) { return;