Fixed: Manually triggering Check Health will now also run health checks that normally only run on startup.
This commit is contained in:
parent
6e179839d9
commit
a058333f65
|
@ -94,7 +94,7 @@ namespace NzbDrone.Core.HealthCheck
|
||||||
|
|
||||||
public void Execute(CheckHealthCommand message)
|
public void Execute(CheckHealthCommand message)
|
||||||
{
|
{
|
||||||
PerformHealthCheck(c => c.CheckOnSchedule);
|
PerformHealthCheck(c => message.Manual || c.CheckOnSchedule);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue