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:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Umbraco.Core.Sync
|
||||
{
|
||||
@@ -14,13 +15,18 @@ namespace Umbraco.Core.Sync
|
||||
{
|
||||
StaleServerTimeout = TimeSpan.FromMinutes(2); // 2 minutes
|
||||
ThrottleSeconds = 30; // 30 seconds
|
||||
RecurringSeconds = 60; // do it every minute
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The number of seconds to wait between each updates to the database.
|
||||
/// </summary>
|
||||
[Obsolete("This is no longer used")]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public int ThrottleSeconds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The amount of seconds to wait between calls to the database on the background thread
|
||||
/// </summary>
|
||||
public int RecurringSeconds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The time span to wait before considering a server stale, after it has last been accessed.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user