An error occurred fetching the project authors.
  1. 09 May, 2016 1 commit
    • Stan Hu's avatar
      Improve multiple branch push performance by memoizing permission checking · 4be77d0b
      Stan Hu authored
      If you attempt to push thousands of branches at once, the 60-second timeout
      will occur because GitAccess checking does a lot of work to check if the
      user has permission to push to a branch. This changes does two things:
      
      1. Instead of making 1 DB query per branch push, use a memoized list of protected branches to check
      2. Memoize what permissions the user has to perform on this project
      
      On a test of 10,000 branch pushes, this prevents gitlab-shell from hitting the 60-second
      timeout.
      
      Closes #17225
      4be77d0b
  2. 08 May, 2016 1 commit
  3. 07 May, 2016 3 commits
  4. 06 May, 2016 2 commits
  5. 05 May, 2016 8 commits
  6. 04 May, 2016 7 commits
  7. 03 May, 2016 4 commits
  8. 02 May, 2016 3 commits
  9. 01 May, 2016 1 commit
  10. 29 Apr, 2016 7 commits
  11. 28 Apr, 2016 3 commits