From dfa45e70f4177cc292e0f406d1574b5bbad72aee Mon Sep 17 00:00:00 2001 From: Shannon Date: Fri, 22 Jan 2016 12:11:32 +0100 Subject: [PATCH] Fixes ms value: U4-7810 DatabaseServerRegistrar should not execute as soon as a request is made, this slows down app start --- src/Umbraco.Web/Strategies/ServerRegistrationEventHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web/Strategies/ServerRegistrationEventHandler.cs b/src/Umbraco.Web/Strategies/ServerRegistrationEventHandler.cs index 9106d43960..6c15814b92 100644 --- a/src/Umbraco.Web/Strategies/ServerRegistrationEventHandler.cs +++ b/src/Umbraco.Web/Strategies/ServerRegistrationEventHandler.cs @@ -91,8 +91,8 @@ namespace Umbraco.Web.Strategies //Perform the rest async, we don't want to block the startup sequence // this will just reoccur on a background thread - _backgroundTaskRunner.Add(new TouchServerTask(_backgroundTaskRunner, - 5, //delay before first execution + _backgroundTaskRunner.Add(new TouchServerTask(_backgroundTaskRunner, + 15000, //delay before first execution _registrar.Options.RecurringSeconds * 1000, //amount of ms between executions svc, _registrar, serverAddress)); }