[MM-55480] Update logr to v2.0.21 (#25431)

Этот коммит содержится в:
Ben Schumacher
2023-11-23 10:30:08 +01:00
коммит произвёл GitHub
родитель 7848ea8e19
Коммит e99ded1635
34 изменённых файлов: 115 добавлений и 109 удалений

Просмотреть файл

@@ -229,7 +229,7 @@ func (s *SqlDraftStore) determineMaxDraftSize() int {
// Assume a worst-case representation of four bytes per rune.
maxDraftSize := int(maxDraftSizeBytes) / 4
mlog.Info("Draft.Message has size restrictions", mlog.Int("max_characters", maxDraftSize), mlog.Int32("max_bytes", maxDraftSizeBytes))
mlog.Info("Draft.Message has size restrictions", mlog.Int("max_characters", maxDraftSize), mlog.Int("max_bytes", maxDraftSizeBytes))
return maxDraftSize
}

Просмотреть файл

@@ -2548,7 +2548,7 @@ func (s *SqlPostStore) determineMaxPostSize() int {
maxPostSize = model.PostMessageMaxRunesV1
}
mlog.Info("Post.Message has size restrictions", mlog.Int("max_characters", maxPostSize), mlog.Int32("max_bytes", maxPostSizeBytes))
mlog.Info("Post.Message has size restrictions", mlog.Int("max_characters", maxPostSize), mlog.Int("max_bytes", maxPostSizeBytes))
return maxPostSize
}