// Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
namespace Umbraco.Cms.Core.Configuration.Models
{
///
/// Typed configuration options for database server messaging settings.
///
public class DatabaseServerMessengerSettings
{
///
/// Gets or sets a value for 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;
///
/// Gets or sets a value for the time to keep instructions in the database; records older than this number will be pruned.
///
public TimeSpan TimeToRetainInstructions { get; set; } = TimeSpan.FromDays(2);
///
/// Gets or sets a value for the time to wait between each sync operations.
///
public TimeSpan TimeBetweenSyncOperations { get; set; } = TimeSpan.FromSeconds(5);
///
/// Gets or sets a value for the time to wait between each prune operations.
///
public TimeSpan TimeBetweenPruneOperations { get; set; } = TimeSpan.FromMinutes(1);
}
}