feat:report

This commit is contained in:
Оля Мороз
2026-11-16 20:30:12 +03:00
parent 90f407b174
commit c91ec7790f
37 changed files with 1159 additions and 209 deletions
+2 -1
View File
@@ -168,7 +168,8 @@ func handleOne(ctx context.Context, store *domain.Store, s3 *domain.S3Store,
return
}
} else {
sum, err := s3.PutBytes(ctx, finalOriginalKey, v.ContentType, v.Data)
key := "final/" + j.AttachmentID + "/" + v.Name
sum, err := s3.PutBytes(ctx, key, v.ContentType, v.Data)
if err != nil {
_, _ = store.RetryJob(ctx, j.JobID, "storage_error", maxAttempts, baseBackoff)
_ = broker.Ack(ctx, m.ID)