From 4b2523fb40b1668b58a7db81836e485663617d66 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 20 Jun 2019 14:29:11 +0300 Subject: [PATCH] app/vminsert/opentsdb: remove unused const `maxReadPacketSize`; update https://github.com/VictoriaMetrics/VictoriaMetrics/issues/69 --- app/vminsert/opentsdb/request_handler.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/vminsert/opentsdb/request_handler.go b/app/vminsert/opentsdb/request_handler.go index 8b9d5b66f4..189e30725c 100644 --- a/app/vminsert/opentsdb/request_handler.go +++ b/app/vminsert/opentsdb/request_handler.go @@ -54,8 +54,6 @@ func (ctx *pushCtx) InsertRows() error { return ic.FlushBufs() } -const maxReadPacketSize = 4 * 1024 * 1024 - const flushTimeout = 3 * time.Second func (ctx *pushCtx) Read(r io.Reader) bool {