Class SingleServerRoleAccessor
Can be used when Umbraco is definitely not operating in a Load Balanced scenario to micro-optimize some startup performance
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Sync
Assembly: Umbraco.Core.dll
Syntax
public class SingleServerRoleAccessor : IServerRoleAccessor
Remarks
The micro optimization is specifically to avoid a DB query just after the app starts up to determine the
Server
Properties
View SourceCurrentServerRole
Declaration
public ServerRole CurrentServerRole { get; }
Property Value
Type | Description |
---|---|
Server |