From 966880d07b8194bfaa5e8ca6e1ee02fc49980765 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Wed, 2 Jun 2021 21:53:05 -0400 Subject: [PATCH] Log 'txPortalStartSize' in NewLinkSendBuffer. (#244) --- router/xgress/link_send_buffer.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/router/xgress/link_send_buffer.go b/router/xgress/link_send_buffer.go index ee7197bb1..d263a29dd 100644 --- a/router/xgress/link_send_buffer.go +++ b/router/xgress/link_send_buffer.go @@ -21,6 +21,7 @@ import ( "github.com/openziti/foundation/util/concurrenz" "github.com/openziti/foundation/util/info" "github.com/pkg/errors" + "github.com/sirupsen/logrus" "math" "sync/atomic" "time" @@ -92,6 +93,8 @@ func (self *txPayload) isRetransmittable() bool { } func NewLinkSendBuffer(x *Xgress) *LinkSendBuffer { + logrus.Warnf("txPortalStartSize = %d", x.Options.TxPortalStartSize) + buffer := &LinkSendBuffer{ x: x, buffer: make(map[int32]*txPayload),