()
| 250 | } |
| 251 | |
| 252 | func (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 | |
| 259 | func (s *Session) supportsMessageBatching() bool { |
| 260 | switch s.proto { |
no test coverage detected