// Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
namespace Umbraco.Cms.Core.Configuration.Models
{
///
/// Typed configuration options for database server registrar settings.
///
public class DatabaseServerRegistrarSettings
{
///
/// Gets or sets a value for the amount of time to wait between calls to the database on the background thread.
///
public TimeSpan WaitTimeBetweenCalls { get; set; } = TimeSpan.FromMinutes(1);
///
/// Gets or sets a value for the time span to wait before considering a server stale, after it has last been accessed.
///
public TimeSpan StaleServerTimeout { get; set; } = TimeSpan.FromMinutes(2);
}
}