Fixes ms value: U4-7810 DatabaseServerRegistrar should not execute as soon as a request is made, this slows down app start

This commit is contained in:
Shannon
2016-01-22 12:11:32 +01:00
parent 1f29d85f83
commit dfa45e70f4

View File

@@ -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));
}