Update cluster_handlers.go (#24238)
Remove unnecessary debug statements as a fix for MM-24226 Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d88e1e6650
Коммит
e211b867b8
@@ -7,7 +7,6 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"runtime/debug"
|
|
||||||
|
|
||||||
"github.com/mattermost/mattermost/server/public/model"
|
"github.com/mattermost/mattermost/server/public/model"
|
||||||
"github.com/mattermost/mattermost/server/public/shared/mlog"
|
"github.com/mattermost/mattermost/server/public/shared/mlog"
|
||||||
@@ -159,7 +158,6 @@ func (ps *PlatformService) InvalidateAllCachesSkipSend() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (ps *PlatformService) InvalidateAllCaches() *model.AppError {
|
func (ps *PlatformService) InvalidateAllCaches() *model.AppError {
|
||||||
debug.FreeOSMemory()
|
|
||||||
ps.InvalidateAllCachesSkipSend()
|
ps.InvalidateAllCachesSkipSend()
|
||||||
|
|
||||||
if ps.clusterIFace != nil {
|
if ps.clusterIFace != nil {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user