1. 19 Apr, 2018 1 commit
  2. 16 Mar, 2018 1 commit
  3. 22 Feb, 2018 1 commit
  4. 08 Jan, 2018 1 commit
  5. 02 Jan, 2018 1 commit
  6. 22 Dec, 2017 1 commit
  7. 06 Dec, 2017 1 commit
    • Yorick Peterse's avatar
      Throttle the number of UPDATEs triggered by touch · 856447cc
      Yorick Peterse authored
      This throttles the number of UPDATE queries that can be triggered by
      calling "touch" on a Note, Issue, or MergeRequest. For Note objects we
      also take care of updating the associated "noteable" relation in a
      smarter way than Rails does by default.
      856447cc
  8. 13 Nov, 2017 1 commit
  9. 11 Nov, 2017 1 commit
  10. 09 Oct, 2017 2 commits
  11. 30 Aug, 2017 1 commit
  12. 23 Aug, 2017 1 commit
    • Yorick Peterse's avatar
      Cache the number of open issues and merge requests · 6ec53f5d
      Yorick Peterse authored
      Every project page displays a navigation menu that in turn displays the
      number of open issues and merge requests. This means that for every
      project page we run two COUNT(*) queries, each taking up roughly 30
      milliseconds on GitLab.com. By caching these numbers and refreshing them
      whenever necessary we can reduce loading times of all these pages by up
      to roughly 60 milliseconds.
      
      The number of open issues does not include confidential issues. This is
      a trade-off to keep the code simple and to ensure refreshing the data
      only needs 2 COUNT(*) queries instead of 3. A downside is that if a
      project only has 5 confidential issues the counter will be set to 0.
      
      Because we now have 3 similar counting service classes the code
      previously used in Projects::ForksCountService has mostly been moved to
      Projects::CountService, which in turn is reused by the various service
      classes.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36622
      6ec53f5d
  13. 11 Aug, 2017 1 commit
  14. 09 Aug, 2017 1 commit
  15. 07 Aug, 2017 1 commit
  16. 02 Aug, 2017 1 commit
  17. 01 Aug, 2017 1 commit
  18. 27 Jul, 2017 1 commit
  19. 21 Jun, 2017 1 commit
  20. 14 Jun, 2017 1 commit
  21. 12 May, 2017 1 commit
  22. 04 May, 2017 2 commits
  23. 20 Apr, 2017 1 commit
  24. 11 Apr, 2017 1 commit
  25. 04 Apr, 2017 1 commit
  26. 21 Mar, 2017 1 commit
  27. 17 Mar, 2017 1 commit
  28. 14 Mar, 2017 2 commits
  29. 23 Feb, 2017 2 commits
  30. 27 Jan, 2017 3 commits
  31. 26 Jan, 2017 1 commit
  32. 25 Jan, 2017 1 commit
  33. 03 Jan, 2017 1 commit
  34. 15 Dec, 2016 1 commit