gitlab-org--gitlab-foss/spec/lib
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
..
api Added default order to UserFinder 2017-12-04 09:49:53 +00:00
backup Remove Rugged::Repository#empty? 2017-12-07 15:33:30 +00:00
banzai adding view and feature specs 2017-12-07 09:06:59 -05:00
bitbucket
constraints
container_registry Update container repository path reference 2017-11-16 09:31:07 +01:00
gitlab Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
google_api Test usage of custom user agent in GCP Client 2017-12-04 02:19:02 +01:00
json_web_token
mattermost
microsoft_teams
rspec_flaky Ensure we set SUITE_FLAKY_RSPEC_REPORT_PATH to nil in RspecFlaky::Listener spec 2017-10-06 19:57:42 +02:00
system_check Remove an exception from the git user default SSH config check 2017-11-02 13:31:11 +00:00
additional_email_headers_interceptor_spec.rb Only set Auto-Submitted header once 2017-10-30 13:50:19 +00:00
after_commit_queue_spec.rb
disable_email_interceptor_spec.rb
event_filter_spec.rb
expand_variables_spec.rb
extracts_path_spec.rb
feature_spec.rb Cache feature names in RequestStore 2017-11-07 22:28:57 +01:00
file_size_validator_spec.rb
gitlab_spec.rb
milestone_array_spec.rb Add Group Milestone sorting 2017-11-07 06:37:46 +02:00
repository_cache_spec.rb
system_check_spec.rb