// Copyright (c) Umbraco. // See LICENSE for more details. using System.ComponentModel; namespace Umbraco.Cms.Core.Configuration.Models; /// /// Typed configuration options for keep alive settings. /// [UmbracoOptions(Constants.Configuration.ConfigKeepAlive)] public class KeepAliveSettings { internal const bool StaticDisableKeepAliveTask = false; internal const string StaticKeepAlivePingUrl = "~/api/keepalive/ping"; /// /// Gets or sets a value indicating whether the keep alive task is disabled. /// [DefaultValue(StaticDisableKeepAliveTask)] public bool DisableKeepAliveTask { get; set; } = StaticDisableKeepAliveTask; /// /// Gets or sets a value for the keep alive ping URL. /// [DefaultValue(StaticKeepAlivePingUrl)] public string KeepAlivePingUrl { get; set; } = StaticKeepAlivePingUrl; }