mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-25 22:37:27 -04:00
Fixed: Delay health check notifications on startup
Closes #7145 (cherry picked from commit 07f0db477a91b39c1f4b884775c08a55ada487cf)
This commit is contained in:
@@ -245,6 +245,13 @@ namespace NzbDrone.Core.Notifications
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
foreach (var notification in _notificationFactory.OnHealthIssueEnabled())
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user