View definition

(Config).ClientQueueInitialCapacity

Defined in github.com/centrifugal/centrifugo/libcentrifugo/config.go

Description

ClientQueueInitialCapacity sets initial amount of slots in client message queue. When these slots are full client queue is automatically resized to a bigger size. This option can reduce amount of allocations when message rate is very high and client queue resizes frequently. Note that memory consumption per client connection grows with this option.

ClientQueueInitialCapacity is referenced in 1 repository

github.com/centrifugal/centrifugo