Read about our upcoming Code of Conduct on this issue

  • Yorick Peterse's avatar
    Revamp finding projects by namespaces · 369cc6c06c90
    Yorick Peterse authored
    By using a JOIN we can remove the need for using 2 separate queries to
    find a project by its namespace. Combined with an index (only needed for
    PostgreSQL) this reduces the query time from ~245 ms (~520 ms for the
    first call) down to roughly 10 ms (~15 ms for the first call).
    369cc6c06c90
project.rb 21.7 KB