Skip to content

Commit 7cf7ac6

Browse files
committed
last issue with state/keep alive timer
1 parent 7ce0272 commit 7cf7ac6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Umbraco.Web/Scheduling/KeepAlive.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,7 @@ internal class KeepAlive
1111
public static void Start(object sender)
1212
{
1313
using (DisposableTimer.DebugDuration<KeepAlive>(() => "Keep alive executing", () => "Keep alive complete"))
14-
{
15-
//NOTE: sender will be the umbraco ApplicationContext
16-
17-
var appContext = sender as ApplicationContext;
18-
if (appContext == null) return;
19-
14+
{
2015
var umbracoBaseUrl = ServerEnvironmentHelper.GetCurrentServerUmbracoBaseUrl();
2116

2217
var url = string.Format("{0}/ping.aspx", umbracoBaseUrl);

0 commit comments

Comments
 (0)