mirror of
https://github.com/Lidarr/Lidarr
synced 2026-01-08 16:43:12 +01:00
Fix lint issues
This commit is contained in:
parent
15f8890c00
commit
79c70ba868
3 changed files with 1 additions and 2 deletions
|
|
@ -141,7 +141,6 @@ public void HandleAsync(IEvent message)
|
|||
|
||||
// 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;
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
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;
|
||||
|
|
|
|||
|
|
@ -204,7 +204,6 @@ public void Handle(HealthCheckFailedEvent message)
|
|||
{
|
||||
// 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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue