app/vminsert/opentsdb: remove unused const maxReadPacketSize; update https://github.com/VictoriaMetrics/VictoriaMetrics/issues/69

This commit is contained in:
Aliaksandr Valialkin 2019-06-20 14:29:11 +03:00
parent a3a53647ba
commit 3838d224d5

View file

@ -72,8 +72,6 @@ func (ctx *pushCtx) InsertRows(at *auth.Token) error {
return ic.FlushBufs()
}
const maxReadPacketSize = 4 * 1024 * 1024
const flushTimeout = 3 * time.Second
func (ctx *pushCtx) Read(r io.Reader) bool {