mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-24 19:47:38 +00:00
Close gopacket connection immediately, basic throttling and assembler mutex removal
* close gopacket conn immediately * increase last ack threshold to 3 seconds * remove empty condition * add periodic stats * protect connections from concurrent updates * implement basic throttling base on live streams count * remove assembler mutex * pr fixes * change max conns default to 500 * create connectionId type * fix linter
This commit is contained in:
@@ -34,7 +34,7 @@ type tlsPoller struct {
|
||||
extension *api.Extension
|
||||
procfs string
|
||||
pidToNamespace sync.Map
|
||||
fdCache *simplelru.LRU // Actual typs is map[string]addressPair
|
||||
fdCache *simplelru.LRU // Actual type is map[string]addressPair
|
||||
evictedCounter int
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user