Share via


AzureStorageOptions.ControlQueueBufferThreshold Property

Definition

Gets or set the number of control queue messages that can be buffered in memory at a time, at which point the dispatcher will wait before dequeuing any additional messages. The default is 256. The maximum value is 1000.

public int ControlQueueBufferThreshold { get; set; }
member this.ControlQueueBufferThreshold : int with get, set
Public Property ControlQueueBufferThreshold As Integer

Property Value

A non-negative integer between 0 and 1000. The default value is 256.

Remarks

Increasing this value can improve orchestration throughput by pre-fetching more orchestration messages from control queues. The downside is that it increases the possibility of duplicate function executions if partition leases move between app instances. This most often occurs when the number of app instances changes.

Applies to