Skip to content
Snippets Groups Projects
  1. Aug 30, 2018
  2. Aug 29, 2018
  3. Aug 28, 2018
  4. Aug 27, 2018
  5. Aug 26, 2018
  6. Aug 25, 2018
  7. Aug 24, 2018
  8. Aug 23, 2018
  9. Aug 22, 2018
  10. Aug 21, 2018
    • Stan Hu's avatar
      Eliminate unnecessary and duplicate system hook fires · 377e3670
      Stan Hu authored
      Previously `SystemHookPushWorker` would always be called after a push event,
      and this would queue a Sidekiq job regardless of whether any system hooks
      needed that event. Moreover, another call inside `Project#execute_hooks` would
      also fire system hooks if they existed.
      
      This change both removes the duplicate system hook calls. For installations
      without system hooks for push events, this change also can save significant
      amount of RAM used by Redis.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50549
      377e3670
Loading