aboutsummaryrefslogtreecommitdiff
path: root/cmd/server/main.go
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-24 00:09:26 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-24 00:09:26 +0200
commit3b06cb010948c241b3c940b7d85e4390f2d93dd0 (patch)
tree07b230a4d413ef85c61cc6ab44385ac0cf2da8fb /cmd/server/main.go
parent5bb3d3ecabfc658035e69d5d5286cabaf44e3f73 (diff)
downloadlens-3b06cb010948c241b3c940b7d85e4390f2d93dd0.tar.gz
lens-3b06cb010948c241b3c940b7d85e4390f2d93dd0.tar.bz2
lens-3b06cb010948c241b3c940b7d85e4390f2d93dd0.zip
ref: Rename list to batch processor
Diffstat (limited to 'cmd/server/main.go')
-rw-r--r--cmd/server/main.go2
1 files changed, 1 insertions, 1 deletions
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"),