aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/worker/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/worker/worker.go b/internal/worker/worker.go
index d8195f97..0ef0b01f 100644
--- a/internal/worker/worker.go
+++ b/internal/worker/worker.go
@@ -21,7 +21,7 @@ type Worker struct {
}
// Run wait for a job and refresh the given feed.
-func (w *Worker) Run(c chan model.Job) {
+func (w *Worker) Run(c <-chan model.Job) {
slog.Debug("Worker started",
slog.Int("worker_id", w.id),
)