mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-31 04:00:18 -07: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 @@ 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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue