New: NzbDrone is now preloaded on start. making accessing it for the first time after a restart or update a lot faster.

pull/2/head
kay.one 13 years ago
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…
Cancel
Save