mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vminsert/clusternative: explain why lower-level vminsert doesnt compress responses to upper-level vminsert
This commit is contained in:
parent
3199558da9
commit
be320c81bc
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ var (
|
|||
|
||||
// InsertHandler processes data from vminsert nodes.
|
||||
func InsertHandler(c net.Conn) error {
|
||||
// There is no need in response compression, since
|
||||
// lower-level vminsert sends only small packets to upper-level vminsert.
|
||||
bc, err := handshake.VMInsertServer(c, 0)
|
||||
if err != nil {
|
||||
if errors.Is(err, handshake.ErrIgnoreHealthcheck) {
|
||||
|
|
Loading…
Reference in a new issue