1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 07:22:35 +01:00

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:
kay.one 2012-01-25 17:30:55 -08:00
parent 7a83a46d31
commit 4ea475d428

View File

@ -75,6 +75,7 @@ namespace NzbDrone.Providers
try
{
_webClientProvider.DownloadString(_iisProvider.AppUrl); //This should preload the home page, making the first load alot faster.
string response = _webClientProvider.DownloadString(_iisProvider.AppUrl + "/health");
if (!response.Contains("OK"))