last issue with state/keep alive timer

This commit is contained in:
Shannon
2014-06-25 12:03:31 +10:00
parent 7ce0272169
commit 7cf7ac687c

View File

@@ -11,12 +11,7 @@ namespace Umbraco.Web.Scheduling
public static void Start(object sender)
{
using (DisposableTimer.DebugDuration<KeepAlive>(() => "Keep alive executing", () => "Keep alive complete"))
{
//NOTE: sender will be the umbraco ApplicationContext
var appContext = sender as ApplicationContext;
if (appContext == null) return;
{
var umbracoBaseUrl = ServerEnvironmentHelper.GetCurrentServerUmbracoBaseUrl();
var url = string.Format("{0}/ping.aspx", umbracoBaseUrl);