hotfix(worker): lab5 add failedjobs and outbox to main

This commit is contained in:
Голиков Maximillian Антон
2026-11-10 15:29:26 +03:00
parent 996e305ea4
commit dce767a156
+1 -1
View File
@@ -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 {