* Extract MainDomKey generation to its own class to ease customization. Also add discriminator config value to GlobalSettings for advanced users. Prevents a mandatory custom implementation, should be good enough for the vast majority of use cases. * Prevent duplicate runs of ScheduledPublishing during slot swap. * Add filesystem based MainDomLock
14 lines
348 B
C#
14 lines
348 B
C#
namespace Umbraco.Cms.Core.Runtime
|
|
{
|
|
/// <summary>
|
|
/// Defines a class which can generate a distinct key for a MainDom boundary.
|
|
/// </summary>
|
|
public interface IMainDomKeyGenerator
|
|
{
|
|
/// <summary>
|
|
/// Returns a key that signifies a MainDom boundary.
|
|
/// </summary>
|
|
string GenerateKey();
|
|
}
|
|
}
|