hotfix(worker): lab5 add failedjobs and outbox to main
This commit is contained in:
@@ -44,7 +44,7 @@ func main() {
|
|||||||
log.Fatalf("S3: %v", err)
|
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)
|
conn, err := amqp.Dial(cfg.RabbitMQURL)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user