Files
Umbraco-CMS/src/Umbraco.Core/Configuration/Models/DatabaseServerMessengerSettings.cs

28 lines
1012 B
C#
Raw Normal View History

using System;
namespace Umbraco.Core.Configuration.Models
{
public class DatabaseServerMessengerSettings
{
/// <summary>
/// The maximum number of instructions that can be processed at startup; otherwise the server cold-boots (rebuilds its caches).
/// </summary>
public int MaxProcessingInstructionCount { get; set; } = 1000;
/// <summary>
/// The time to keep instructions in the database; records older than this number will be pruned.
/// </summary>
public TimeSpan TimeToRetainInstructions { get; set; } = TimeSpan.FromDays(2);
/// <summary>
/// The time to wait between each sync operations.
/// </summary>
public TimeSpan TimeBetweenSyncOperations { get; set; } = TimeSpan.FromSeconds(5);
/// <summary>
/// The time to wait between each prune operations.
/// </summary>
public TimeSpan TimeBetweenPruneOperations { get; set; } = TimeSpan.FromMinutes(1);
}
}