Table of Contents

Property DispatchQueueCapacity

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

DispatchQueueCapacity

Sets the bounded capacity of the internal dispatch queue per shard.

When the queue is full, back-pressure will be applied to the WebSocket reader, which may cause the gateway to close the connection if heartbeat ACKs are delayed. Increase this value if your bot processes events slowly and receives high event volume.

Defaults to 10,000. Set to 0 for an unbounded queue.

public int DispatchQueueCapacity { set; }

Property Value

int