refactor to add ingest batchs for better traceability
This commit is contained in:
@@ -59,6 +59,7 @@ func (h *Handler) IngestCSV(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
fileStats.ElapsedMS = int(time.Since(start).Milliseconds())
|
||||
h.UpdateElapsedMS(r.Context(), fileStats.BatchID, fileStats.ElapsedMS)
|
||||
|
||||
slog.Info("CSV file processed",
|
||||
"filename", header.Filename,
|
||||
|
||||
Reference in New Issue
Block a user