fixed yt-dlp duplicated playlist entries

This commit is contained in:
2024-06-07 16:24:36 +02:00
parent c108428243
commit d614433501
2 changed files with 13 additions and 12 deletions

View File

@@ -56,7 +56,7 @@ func (m *MessageQueue) downloadConsumer() {
m.eventBus.SubscribeAsync(queueName, func(p *Process) {
//TODO: provide valid context
sem.Acquire(context.TODO(), 1)
sem.Acquire(context.Background(), 1)
defer sem.Release(1)
m.logger.Info("received process from event bus",