From e211b867b832cdf538e304776204f3ee56fe7095 Mon Sep 17 00:00:00 2001 From: Yash Ajgaonkar <31548778+yash2189@users.noreply.github.com> Date: Mon, 14 Aug 2023 22:46:30 +0530 Subject: [PATCH] Update cluster_handlers.go (#24238) Remove unnecessary debug statements as a fix for MM-24226 Co-authored-by: Mattermost Build --- server/channels/app/platform/cluster_handlers.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/channels/app/platform/cluster_handlers.go b/server/channels/app/platform/cluster_handlers.go index f92aec3a0c..a45809085b 100644 --- a/server/channels/app/platform/cluster_handlers.go +++ b/server/channels/app/platform/cluster_handlers.go @@ -7,7 +7,6 @@ import ( "bytes" "encoding/json" "fmt" - "runtime/debug" "github.com/mattermost/mattermost/server/public/model" "github.com/mattermost/mattermost/server/public/shared/mlog" @@ -159,7 +158,6 @@ func (ps *PlatformService) InvalidateAllCachesSkipSend() { } func (ps *PlatformService) InvalidateAllCaches() *model.AppError { - debug.FreeOSMemory() ps.InvalidateAllCachesSkipSend() if ps.clusterIFace != nil {