gitlab-org--gitlab-foss/spec/controllers
Bob Van Landuyt f1ae1e39ce Move the circuitbreaker check out in a separate process
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.
2017-12-08 09:11:39 +01:00
..
admin Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
boards Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
concerns Fix filter by my reaction is not working 2017-11-13 18:20:02 +09:00
dashboard Fix access to the final page of todos 2017-11-09 13:13:48 +00:00
explore Search subgroups on dashboard and explore views 2017-10-04 22:49:41 +02:00
google_api Improve redirect uri state and fix all remaining tests 2017-10-06 16:14:14 +02:00
groups Support uploads for groups 2017-12-07 12:27:52 +01:00
import Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
oauth Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
profiles Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
projects Merge branch '40761-remove-the-checkbox-for-starting-a-new-pipeline-in-auto-devops-settings' into 'master' 2017-12-07 17:11:07 +00:00
snippets Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
abuse_reports_controller_spec.rb Fix errors caused by attempts to report already blocked or deleted users 2017-06-28 14:37:14 -03:00
application_controller_spec.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
autocomplete_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
dashboard_controller_spec.rb Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
groups_controller_spec.rb Merge branch '35644-refactor-have-http-status-into-have-gitlab-http-status' into 'master' 2017-10-23 14:55:57 +00:00
health_check_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
health_controller_spec.rb Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
help_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
invites_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
metrics_controller_spec.rb Merge branch 'pawel/show_empty_page_when_prometheus_metrics_are_disabled-35639' into 'master' 2017-11-06 17:02:22 +00:00
notification_settings_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
passwords_controller_spec.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
profiles_controller_spec.rb Merge branch 'security-10-1' into '10-1-stable' 2017-10-17 15:58:58 -07:00
projects_controller_spec.rb Merge branch '32878-merge-request-from-email' into 'master' 2017-12-05 12:28:49 +00:00
registrations_controller_spec.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
root_controller_spec.rb Fix the redirect to custom home page URL and move it to RootController 2017-02-27 16:51:23 +01:00
search_controller_spec.rb Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
sent_notifications_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
sessions_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
snippets_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
uploads_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
users_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00