module BenchmarkPool
  def self.enqueue(repo_name, commit_sha)
    case repo_name
    when 'ruby'
      RemoteServerJob.perform_later(commit_sha, 'ruby_trunk')
      RemoteServerJob.perform_later(commit_sha, 'ruby_trunk_discourse')
    when 'rails'
      # ...
    else
      raise ArgumentError, "unknown repo: #{repo_name}"
    end
  end
end

module BenchmarkPool
  def self.enqueue(repo_name, commit_sha)
    case repo_name
    when 'ruby'
      RemoteServerJob.perform_later(commit_sha, 'ruby_trunk')
      # RemoteServerJob.perform_later(commit_sha, 'ruby_trunk_discourse')
    when 'rails'
      # ...
    else
      raise ArgumentError, "unknown repo: #{repo_name}"
    end
  end
end

Disable Discourse per commit benchmarks.
Disable Discourse per commit benchmarks.
