batchableServer is a flushableServer that allows sending a batch of Series per message.
| 50 | |
| 51 | // batchableServer is a flushableServer that allows sending a batch of Series per message. |
| 52 | type batchableServer struct { |
| 53 | storepb.Store_SeriesServer |
| 54 | batchSize int |
| 55 | series []*storepb.Series |
| 56 | } |
| 57 | |
| 58 | func (b *batchableServer) Flush() error { |
| 59 | if len(b.series) != 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected