1. 16 12月, 2017 1 次提交
  2. 15 12月, 2017 2 次提交
    • G
      Fix UX issues in system info page · dd4b6db2
      Gilbert Roulot 提交于
      dd4b6db2
    • S
      Don't use Markdown cache for stubbed settings in specs · 10885edf
      Sean McGivern 提交于
      The ApplicationSetting model uses the CacheMarkdownField concern, which updates
      the cached HTML when the field is updated in the database. However, in specs,
      when we want to test conditions using ApplicationSetting, we stub it, because
      this is accessed in different ways throughout the application.
      
      This means that if a spec runs that caches one of the Markdown fields, and a
      later spec uses `stub_application_setting` to set the raw value of that field,
      the cached value was still the original one. We can work around this by ignoring
      the Markdown cache in contexts where we're using `stub_application_setting`.
      
      We could be smarter, and only do this on the Markdown fields of the model, but
      this is probably fine.
      10885edf
  3. 14 12月, 2017 2 次提交
  4. 12 12月, 2017 3 次提交
  5. 11 12月, 2017 3 次提交
  6. 09 12月, 2017 2 次提交
  7. 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
  8. 07 12月, 2017 3 次提交
  9. 06 12月, 2017 3 次提交
  10. 05 12月, 2017 7 次提交
  11. 04 12月, 2017 13 次提交