Udostępnij za pośrednictwem


SessionHandlerOptions.MaxConcurrentSessions Property

Definition

Gets or sets the maximum number of existing sessions that the User wants to handle concurrently. Setting this value to be greater than the max number of active sessions in the service will not increase message throughput.

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

Property Value

The maximum number of sessions that the User wants to handle concurrently. Default is 2000.

Remarks

The session-pump (SDK) will accept MaxConcurrentSessions number of sessions in parallel and dispatch the messages. The messages within a session are delivered sequentially. If more than MaxConcurrentSessions number of sessions are present in the entity, they will be accepted one-by-one after closing the existing sessions.

Applies to