Log 'txPortalStartSize' in NewLinkSendBuffer. (#244)

This commit is contained in:
Michael Quigley
2021-06-02 21:53:05 -04:00
parent 6501d91b9c
commit 966880d07b
+3
View File
@@ -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),