add context propagation

This commit is contained in:
2025-10-23 16:39:14 +02:00
parent 811dfc7507
commit ab4af962c7
4 changed files with 33 additions and 18 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ func (h *Handler) IngestCSV(w http.ResponseWriter, r *http.Request) {
}
start := time.Now()
err = h.Service.IngestCSV(bytes.NewReader(content), fileStats)
err = h.Service.IngestCSV(r.Context(), bytes.NewReader(content), fileStats)
if err != nil {
slog.Error(ErrCannotParseFile.Error(),
"filename", header.Filename,