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