last issue with state/keep alive timer
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user