We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ce0272 commit 7cf7ac6Copy full SHA for 7cf7ac6
src/Umbraco.Web/Scheduling/KeepAlive.cs
@@ -11,12 +11,7 @@ internal class KeepAlive
11
public static void Start(object sender)
12
{
13
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
+ {
20
var umbracoBaseUrl = ServerEnvironmentHelper.GetCurrentServerUmbracoBaseUrl();
21
22
var url = string.Format("{0}/ping.aspx", umbracoBaseUrl);
0 commit comments