- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for maxMergeMessages (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/grid/grid.go
biggerBufMin = 32 << 10 // This is the maximum size of bigger buffers. biggerBufMax = maxBufferSize // If there is a queue, merge up to this many messages. maxMergeMessages = 50 // clientPingInterval will ping the remote handler every 15 seconds. // Clients disconnect when we exceed 2 intervals. clientPingInterval = 15 * time.Second
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7K bytes - Click Count (0) -
internal/grid/connection.go
pingFrame := message{ Op: OpPing, DeadlineMS: uint32(connPingInterval.Milliseconds()), Payload: make([]byte, pingMsg{}.Msgsize()), } defer ping.Stop() queue := make([][]byte, 0, maxMergeMessages) var queueSize int var buf bytes.Buffer var wsw wsWriter var lastSetDeadline time.Time // Helper to write everything in buf.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 46.9K bytes - Click Count (0)