Skip to content
Snippets Groups Projects
  1. Jan 23, 2018
  2. Jan 16, 2018
  3. Jan 15, 2018
  4. Jan 11, 2018
  5. Jan 10, 2018
  6. Jan 05, 2018
  7. Dec 20, 2017
  8. Dec 19, 2017
    • Zeger-Jan van de Weg's avatar
      Load commit in batches for pipelines#index · c6edae38
      Zeger-Jan van de Weg authored
      Uses `list_commits_by_oid` on the CommitService, to request the needed
      commits for pipelines. These commits are needed to display the user that
      created the commit and the commit title.
      
      This includes fixes for tests failing that depended on the commit
      being `nil`. However, now these are batch loaded, this doesn't happen
      anymore and the commits are an instance of BatchLoader.
      Unverified
      c6edae38
  9. Dec 14, 2017
  10. Dec 13, 2017
  11. Dec 12, 2017
  12. Dec 08, 2017
    • Bob Van Landuyt's avatar
      Move the circuitbreaker check out in a separate process · f1ae1e39
      Bob Van Landuyt authored
      Moving the check out of the general requests, makes sure we don't have
      any slowdown in the regular requests.
      
      To keep the process performing this checks small, the check is still
      performed inside a unicorn. But that is called from a process running
      on the same server.
      
      Because the checks are now done outside normal request, we can have a
      simpler failure strategy:
      
      The check is now performed in the background every
      `circuitbreaker_check_interval`. Failures are logged in redis. The
      failures are reset when the check succeeds. Per check we will try
      `circuitbreaker_access_retries` times within
      `circuitbreaker_storage_timeout` seconds.
      
      When the number of failures exceeds
      `circuitbreaker_failure_count_threshold`, we will block access to the
      storage.
      
      After `failure_reset_time` of no checks, we will clear the stored
      failures. This could happen when the process that performs the checks
      is not running.
      f1ae1e39
  13. Dec 07, 2017
  14. Dec 05, 2017
  15. Dec 04, 2017
  16. Nov 23, 2017
  17. Nov 21, 2017
  18. Nov 03, 2017
  19. Oct 27, 2017
    • Lin Jen-Shin (godfat)'s avatar
      Fetch the merged branches at once · 57d7ed05
      Lin Jen-Shin (godfat) authored
      57d7ed05
    • Zeger-Jan van de Weg's avatar
      Cache commits on the repository model · 3411fef1
      Zeger-Jan van de Weg authored
      Now, when requesting a commit from the Repository model, the results are
      not cached. This means we're fetching the same commit by oid multiple times
      during the same request. To prevent us from doing this, we now cache
      results. Caching is done only based on object id (aka SHA).
      
      Given we cache on the Repository model, results are scoped to the
      associated project, eventhough the change of two repositories having the
      same oids for different commits is small.
      Unverified
      3411fef1
  20. Oct 20, 2017
  21. Oct 13, 2017
  22. Oct 12, 2017
    • Sean McGivern's avatar
      Cache issuable template names · b7303b65
      Sean McGivern authored
      We were looking these up on each request to an issue page, because the form is
      pre-filled, as is the template dropdown. That was unnecessary: we could just
      treat these as 'special' repository files (like the rendered README) and cache
      them in Redis until they change on a push.
      b7303b65
  23. Oct 07, 2017
    • Jacopo's avatar
      Replaces `tag: true` into `:tag` in the specs · 0ce67858
      Jacopo authored
      Replaces all the explicit include metadata syntax in the specs (tag:
      true) into the implicit one (:tag).
      Added a cop to prevent future errors and handle autocorrection.
      0ce67858
  24. Oct 05, 2017
  25. Oct 04, 2017
  26. Oct 02, 2017
  27. Sep 30, 2017
  28. Sep 29, 2017
  29. Sep 28, 2017
Loading