BigW Consortium Gitlab

  1. 20 Sep, 2017 1 commit
    • Stop using Sidekiq for updating Key#last_used_at · b3566a01
      Yorick Peterse authored
      This makes things simpler as no scheduling is involved. Further we
      remove the need for running a SELECT + UPDATE just to get the key and
      update it, whereas we only need an UPDATE when setting last_used_at
      directly in a request.
      
      The added service class takes care of updating Key#last_used_at without
      using Sidekiq. Further it makes sure we only try to obtain a Redis lease
      if we're confident that we actually need to do so, instead of always
      obtaining it. We also make sure to _only_ update last_used_at instead of
      also updating updated_at.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36663
  2. 07 Sep, 2017 1 commit
  3. 05 Sep, 2017 4 commits
  4. 28 Aug, 2017 1 commit
  5. 25 Aug, 2017 3 commits
    • Move sidekiq-based project authorization refresh out of Projects::CreateService · 8b73df0c
      Nick Thomas authored
      If the project is in a group, the `group.refresh_members_authorized_projects`
      is made non-blocking, and we call `current_user.refresh_authorized_projects`
      directly.
      
      Projects in a personal namespace are more difficult. Rather than passing the
      `blocking:` parameter through the entire `add_master` chain, have the
      `AuthorizedProjectsWorker` automatically inline authorizations for three IDs or
      less. Since the maximum number of IDs in this path is 2, that has the same effect.
    • Enable 5 lines of Sidekiq backtrace lines to aid in debugging · 32b688e7
      Stan Hu authored
      Customers often have Sidekiq jobs that failed without much context. Without
      Sentry, there's no way to tell where these exceptions were hit. Adding
      in additional lines adds a bit more Redis storage overhead. This commit
      adds in backtrace logging for workers that delete groups/projects and
      import/export projects.
      
      Closes #27626
    • Revert "Merge branch 'sh-sidekiq-backtrace' into 'master'" · 24244d03
      Robert Speicher authored
      This reverts merge request !13813
  6. 24 Aug, 2017 1 commit
    • Enable 5 lines of Sidekiq backtrace lines to aid in debugging · 38bb9219
      Stan Hu authored
      Customers often have Sidekiq jobs that failed without much context. Without
      Sentry, there's no way to tell where these exceptions were hit. Adding
      in additional lines adds a bit more Redis storage overhead. This commit
      adds in backtrace logging for workers that delete groups/projects and
      import/export projects.
      
      Closes #27626
  7. 22 Aug, 2017 5 commits
  8. 21 Aug, 2017 5 commits
  9. 17 Aug, 2017 2 commits
  10. 16 Aug, 2017 1 commit
  11. 14 Aug, 2017 1 commit
  12. 08 Aug, 2017 2 commits
  13. 07 Aug, 2017 2 commits
  14. 02 Aug, 2017 1 commit
  15. 01 Aug, 2017 1 commit
  16. 28 Jul, 2017 1 commit
  17. 27 Jul, 2017 4 commits
  18. 26 Jul, 2017 2 commits
  19. 20 Jul, 2017 2 commits