Merge branch 'master' into MM-47853-true-up-review-telemetry-off-non-air-gapped

Этот коммит содержится в:
Mattermod
2022-12-23 23:12:20 +02:00
коммит произвёл GitHub
родитель bd2724e07d 7a9354cd09
Коммит b4d9d12856
22 изменённых файлов: 167 добавлений и 80 удалений

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

@@ -2942,10 +2942,10 @@ func (s *TimerLayerComplianceStore) GetAll(offset int, limit int) (model.Complia
return result, err
}
func (s *TimerLayerComplianceStore) MessageExport(cursor model.MessageExportCursor, limit int) ([]*model.MessageExport, model.MessageExportCursor, error) {
func (s *TimerLayerComplianceStore) MessageExport(ctx context.Context, cursor model.MessageExportCursor, limit int) ([]*model.MessageExport, model.MessageExportCursor, error) {
start := time.Now()
result, resultVar1, err := s.ComplianceStore.MessageExport(cursor, limit)
result, resultVar1, err := s.ComplianceStore.MessageExport(ctx, cursor, limit)
elapsed := float64(time.Since(start)) / float64(time.Second)
if s.Root.Metrics != nil {