MCPcopy
hub / github.com/tinode/chat / scheduleClusterWriteLoop

Method scheduleClusterWriteLoop

server/session.go:252–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

250}
251
252func (s *Session) scheduleClusterWriteLoop() {
253 if globals.cluster != nil && globals.cluster.proxyEventQueue != nil {
254 globals.cluster.proxyEventQueue.Schedule(
255 func() { s.clusterWriteLoop(s.proxiedTopic) })
256 }
257}
258
259func (s *Session) supportsMessageBatching() bool {
260 switch s.proto {

Callers 4

queueOutBatchMethod · 0.95
queueOutMethod · 0.95
queueOutBytesMethod · 0.95

Calls 2

clusterWriteLoopMethod · 0.95
ScheduleMethod · 0.80

Tested by

no test coverage detected