mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-21 01:45:39 +00:00
Change the line
This commit is contained in:
parent
a6f809db14
commit
dfdf359e2e
@ -218,8 +218,8 @@ func startMemoryProfiler() {
|
||||
func closeTimedoutTcpStreamChannels() {
|
||||
TcpStreamChannelTimeoutMs := GetTcpChannelTimeoutMs()
|
||||
for {
|
||||
_debug.FreeOSMemory()
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
_debug.FreeOSMemory()
|
||||
streams.Range(func(key interface{}, value interface{}) bool {
|
||||
streamWrapper := value.(*tcpStreamWrapper)
|
||||
stream := streamWrapper.stream
|
||||
|
Loading…
Reference in New Issue
Block a user