From 3b06cb010948c241b3c940b7d85e4390f2d93dd0 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sat, 24 Jun 2023 00:09:26 +0200 Subject: ref: Rename list to batch processor --- cmd/server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/server/main.go b/cmd/server/main.go index 54a7ba0..473bed9 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -119,7 +119,7 @@ func main() { var ( serverWorker = worker.NewServerWorker(&fasthttp.Server{Handler: r.Handler}) fileWorker = worker.NewWorkerFromChanProcessor[string](fileScanner, scheduler) - exifWorker = worker.NewWorkerFromListProcessor[*media.Media]( + exifWorker = worker.NewWorkerFromBatchProcessor[*media.Media]( exifScanner, scheduler, logrus.WithField("context", "exif scanner"), -- cgit v1.2.3