1. 19 Jun, 2018 1 commit
    • Stan Hu's avatar
      Eliminate redundant queries to path lock checks during a push · 1638ac52
      Stan Hu authored
      This significantly improves performance when a user
      pushes many references.
      
      `project.path_locks.any?` doesn't cache the output and runs `SELECT 1 AS one
      FROM "path_locks" WHERE project_id = N` each time. When there are thousands of
      refs being pushed, this can time out the unicorn worker.
      
      Closes #6465
      1638ac52
  2. 18 Jun, 2018 39 commits