class RepositoryDownloadWorker
  include Sidekiq::Worker
  sidekiq_options unique: true

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

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

Make repo downloads more important
Make repo downloads more important