From fadc999b4eee0eacba8e1b773e73133733e36fbc Mon Sep 17 00:00:00 2001 From: Amit Slavin <108348428+amitslavin@users.noreply.github.com> Date: Wed, 21 Feb 2024 20:49:40 +0200 Subject: [PATCH] [USM] Fix dynamic table map cleaner interval (#22987) [USM] Fix dynamic table map cleaner interval --- pkg/network/protocols/http2/protocol.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/network/protocols/http2/protocol.go b/pkg/network/protocols/http2/protocol.go index 82a48762f21c4..c7842e9fccd13 100644 --- a/pkg/network/protocols/http2/protocol.go +++ b/pkg/network/protocols/http2/protocol.go @@ -385,7 +385,7 @@ func (p *Protocol) setupHTTP2InFlightMapCleaner(mgr *manager.Manager) { } ttl := p.cfg.HTTPIdleConnectionTTL.Nanoseconds() - mapCleaner.Clean(p.cfg.HTTPMapCleanerInterval, nil, nil, func(now int64, key http2StreamKey, val EbpfTx) bool { + mapCleaner.Clean(p.cfg.HTTP2DynamicTableMapCleanerInterval, nil, nil, func(now int64, key http2StreamKey, val EbpfTx) bool { if updated := int64(val.Stream.Response_last_seen); updated > 0 { return (now - updated) > ttl }