Update cluster_handlers.go (#24238)

Remove unnecessary debug statements as a fix for MM-24226

Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
Yash Ajgaonkar 2023-08-14 22:46:30 +05:30 committed by GitHub
parent d88e1e6650
commit e211b867b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {