mirror of https://github.com/Radarr/Radarr
New: NzbDrone is now preloaded on start. making accessing it for the first time after a restart or update a lot faster.
This commit is contained in:
parent
7a83a46d31
commit
4ea475d428
|
@ -75,6 +75,7 @@ namespace NzbDrone.Providers
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
_webClientProvider.DownloadString(_iisProvider.AppUrl); //This should preload the home page, making the first load alot faster.
|
||||||
string response = _webClientProvider.DownloadString(_iisProvider.AppUrl + "/health");
|
string response = _webClientProvider.DownloadString(_iisProvider.AppUrl + "/health");
|
||||||
|
|
||||||
if (!response.Contains("OK"))
|
if (!response.Contains("OK"))
|
||||||
|
|
Loading…
Reference in New Issue