Skip to content
Snippets Groups Projects
  1. Mar 12, 2020
  2. Mar 02, 2020
  3. Feb 19, 2020
  4. Jan 24, 2020
  5. Dec 04, 2019
  6. Oct 30, 2019
  7. Oct 18, 2019
  8. Aug 16, 2019
    • Douwe Maan's avatar
      Look up upstream commits once before queuing ProcessCommitWorkers · 97c2564f
      Douwe Maan authored
      Instead of checking if a commit already exists in the upstream project
      in its ProcessCommitWorker and bailing out if it does, we check the
      existence of all commits in bulk in Git::BranchHooksService, so that we
      can skip scheduling ProcessCommitWorker jobs for those commits
      that already exist upstream entirely.
      Unverified
      97c2564f
  9. May 16, 2019
  10. Nov 15, 2018
  11. Sep 11, 2018
  12. Jul 10, 2018
  13. Jun 27, 2018
  14. Mar 05, 2018
  15. Feb 16, 2018
  16. Dec 05, 2017
  17. Jun 21, 2017
  18. May 25, 2017
  19. May 22, 2017
  20. May 04, 2017
  21. Apr 04, 2017
  22. Feb 23, 2017
  23. Dec 01, 2016
    • Yorick Peterse's avatar
      Pass commit data to ProcessCommitWorker · 6b4d3356
      Yorick Peterse authored
      By passing commit data to this worker we remove the need for querying
      the Git repository for every job. This in turn reduces the time spent
      processing each job.
      
      The migration included migrates jobs from the old format to the new
      format. For this to work properly it requires downtime as otherwise
      workers may start producing errors until they're using a newer version
      of the worker code.
      Unverified
      6b4d3356
  24. Nov 07, 2016
    • Yorick Peterse's avatar
      Process commits in a separate worker · 509910b8
      Yorick Peterse authored
      This moves the code used for processing commits from GitPushService to
      its own Sidekiq worker: ProcessCommitWorker.
      
      Using a Sidekiq worker allows us to process multiple commits in
      parallel. This in turn will lead to issues being closed faster and cross
      references being created faster. Furthermore by isolating this code into
      a separate class it's easier to test and maintain the code.
      
      The new worker also ensures it can efficiently check which issues can be
      closed, without having to run numerous SQL queries for every issue.
      Unverified
      509910b8
Loading