DurableTaskOptions.ExtendedSessionsEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a flag indicating whether to enable extended sessions.
public bool ExtendedSessionsEnabled { get; set; }
member this.ExtendedSessionsEnabled : bool with get, set
Public Property ExtendedSessionsEnabled As Boolean
Property Value
true
to enable extended sessions; otherwise false
.
Remarks
Extended sessions can improve the performance of orchestrator functions by allowing them to skip replays when new messages are received within short periods of time.
Note that orchestrator functions which are extended this way will continue to count against the MaxConcurrentOrchestratorFunctions limit. To avoid starvation, only half of the maximum number of allowed concurrent orchestrator functions can be concurrently extended at any given time. The ExtendedSessionIdleTimeoutInSeconds property can also be used to control how long an idle orchestrator function is allowed to be extended.
It is recommended that this property be set to false
during development to help ensure that the orchestrator code correctly obeys the idempotency rules.
Applies to
Azure SDK for .NET