1. 08 12月, 2017 1 次提交
    • B
      Move the circuitbreaker check out in a separate process · f1ae1e39
      Bob Van Landuyt 提交于
      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
  2. 07 12月, 2017 1 次提交
  3. 05 12月, 2017 2 次提交
  4. 23 11月, 2017 1 次提交
  5. 22 11月, 2017 1 次提交
  6. 04 11月, 2017 1 次提交
  7. 27 10月, 2017 2 次提交
    • L
      Fetch the merged branches at once · 57d7ed05
      Lin Jen-Shin (godfat) 提交于
      57d7ed05
    • Z
      Cache commits on the repository model · 3411fef1
      Zeger-Jan van de Weg 提交于
      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.
      3411fef1
  8. 20 10月, 2017 1 次提交
  9. 13 10月, 2017 1 次提交
  10. 12 10月, 2017 1 次提交
    • S
      Cache issuable template names · b7303b65
      Sean McGivern 提交于
      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
  11. 07 10月, 2017 1 次提交
    • J
      Replaces `tag: true` into `:tag` in the specs · 0ce67858
      Jacopo 提交于
      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
  12. 05 10月, 2017 1 次提交
  13. 04 10月, 2017 2 次提交
  14. 02 10月, 2017 1 次提交
  15. 30 9月, 2017 2 次提交
  16. 29 9月, 2017 4 次提交
  17. 20 9月, 2017 2 次提交
  18. 15 9月, 2017 1 次提交
  19. 14 9月, 2017 1 次提交
  20. 01 9月, 2017 4 次提交
  21. 31 8月, 2017 1 次提交
  22. 29 8月, 2017 2 次提交
  23. 23 8月, 2017 3 次提交
  24. 16 8月, 2017 1 次提交
  25. 09 8月, 2017 2 次提交