From dce767a1562334870bdf8f48674e4bad110f1afa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D0=BE=D0=BB=D0=B8=D0=BA=D0=BE=D0=B2=20Maximillian?= =?UTF-8?q?=20=D0=90=D0=BD=D1=82=D0=BE=D0=BD?= Date: Tue, 10 Nov 2026 15:29:26 +0300 Subject: [PATCH] hotfix(worker): lab5 add failedjobs and outbox to main --- backend/cmd/worker/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/cmd/worker/main.go b/backend/cmd/worker/main.go index 3870ce8..26ffa06 100644 --- a/backend/cmd/worker/main.go +++ b/backend/cmd/worker/main.go @@ -44,7 +44,7 @@ func main() { log.Fatalf("S3: %v", err) } - pipeline := worker.NewPipeline(store.Attachments(), objectStorage, store.Variants()) + pipeline := worker.NewPipeline(store.Attachments(), objectStorage, store.Variants(), store.FailedJobs(), store.Outbox()) conn, err := amqp.Dial(cfg.RabbitMQURL) if err != nil {