```ruby
class RepositoryDownloadWorker
  include Sidekiq::Worker
  sidekiq_options unique: true

  def perform(class_name, name)
    klass = "Repositories::#{class_name}".constantize
    klass.update(name)
  end
end
```

Make repo downloads more important
user
```ruby
class RepositoryDownloadWorker
  include Sidekiq::Worker
  sidekiq_options queue: :critical, unique: true

  def perform(class_name, name)
    klass = "Repositories::#{class_name}".constantize
    klass.update(name)
  end
end
```
assistant