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
1 changed files with 1 additions and 0 deletions

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"))