gitlab-org--gitlab-foss/app/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 Add issue sidebar and toggle_subscription endpoint in board issues data 2017-11-20 12:38:53 -02:00
ci
concerns add support for the commit reference filter 2017-12-07 09:01:37 -05:00
dashboard Resolve "Display member role per project" 2017-12-07 09:11:41 +00:00
explore Resolve "Display member role per project" 2017-12-07 09:11:41 +00:00
google_api
groups Support uploads for groups 2017-12-07 12:27:52 +01:00
import Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
oauth
profiles Fix new personal access token showing up in a flash message 2017-12-07 16:22:37 -06: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
sherlock
snippets
abuse_reports_controller.rb
application_controller.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
autocomplete_controller.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
confirmations_controller.rb
dashboard_controller.rb
groups_controller.rb
health_check_controller.rb
health_controller.rb Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
help_controller.rb
invites_controller.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
jwt_controller.rb
koding_controller.rb
metrics_controller.rb
notification_settings_controller.rb
omniauth_callbacks_controller.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
passwords_controller.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
profiles_controller.rb
projects_controller.rb Create merge request from email 2017-12-05 08:41:58 +01:00
registrations_controller.rb
root_controller.rb
search_controller.rb
sent_notifications_controller.rb
sessions_controller.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
snippets_controller.rb
uploads_controller.rb
users_controller.rb Resolve "Display member role per project" 2017-12-07 09:11:41 +00:00