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 70ba36fa37
commit 4b2523fb40

View file

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