Actually start reading CSV file

This commit is contained in:
Eli Ribble 2026-02-08 04:46:54 +00:00
parent 6b02b75a87
commit e81161ca7f
No known key found for this signature in database
3 changed files with 30 additions and 7 deletions

View file

@ -26,7 +26,7 @@ func startWorkerCSV(ctx context.Context, channelJobImport chan jobImportCSVPool)
return
case job := <-channelJobImport:
log.Info().Int32("id", job.fileID).Msg("Processing CSV job")
err := csv.ProcessJob(job.fileID)
err := csv.ProcessJob(ctx, job.fileID)
if err != nil {
log.Error().Err(err).Int32("id", job.fileID).Msg("Error processing CSV file")
}