BigW Consortium Gitlab
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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
helpers | Loading commit data... | |
v3 | Loading commit data... | |
access_requests.rb | Loading commit data... | |
api.rb | Loading commit data... | |
api_guard.rb | Loading commit data... | |
award_emoji.rb | Loading commit data... | |
boards.rb | Loading commit data... | |
branches.rb | Loading commit data... | |
broadcast_messages.rb | Loading commit data... | |
circuit_breakers.rb | Loading commit data... | |
commit_statuses.rb | Loading commit data... | |
commits.rb | Loading commit data... | |
custom_attributes_endpoints.rb | Loading commit data... | |
deploy_keys.rb | Loading commit data... | |
deployments.rb | Loading commit data... | |
entities.rb | Loading commit data... | |
environments.rb | Loading commit data... | |
events.rb | Loading commit data... | |
features.rb | Loading commit data... | |
files.rb | Loading commit data... | |
group_milestones.rb | Loading commit data... | |
group_variables.rb | Loading commit data... | |
groups.rb | Loading commit data... | |
helpers.rb | Loading commit data... | |
internal.rb | Loading commit data... | |
issues.rb | Loading commit data... | |
job_artifacts.rb | Loading commit data... | |
jobs.rb | Loading commit data... | |
keys.rb | Loading commit data... | |
labels.rb | Loading commit data... | |
lint.rb | Loading commit data... | |
members.rb | Loading commit data... | |
merge_request_diffs.rb | Loading commit data... | |
merge_requests.rb | Loading commit data... | |
milestone_responses.rb | Loading commit data... | |
namespaces.rb | Loading commit data... | |
notes.rb | Loading commit data... | |
notification_settings.rb | Loading commit data... | |
pages_domains.rb | Loading commit data... | |
pagination_params.rb | Loading commit data... | |
pipeline_schedules.rb | Loading commit data... | |
pipelines.rb | Loading commit data... | |
project_hooks.rb | Loading commit data... | |
project_milestones.rb | Loading commit data... | |
project_snippets.rb | Loading commit data... | |
projects.rb | Loading commit data... | |
projects_relation_builder.rb | Loading commit data... | |
protected_branches.rb | Loading commit data... | |
repositories.rb | Loading commit data... | |
runner.rb | Loading commit data... | |
runners.rb | Loading commit data... | |
scope.rb | Loading commit data... | |
services.rb | Loading commit data... | |
settings.rb | Loading commit data... | |
sidekiq_metrics.rb | Loading commit data... | |
snippets.rb | Loading commit data... | |
subscriptions.rb | Loading commit data... | |
system_hooks.rb | Loading commit data... | |
tags.rb | Loading commit data... | |
templates.rb | Loading commit data... | |
time_tracking_endpoints.rb | Loading commit data... | |
todos.rb | Loading commit data... | |
triggers.rb | Loading commit data... | |
users.rb | Loading commit data... | |
variables.rb | Loading commit data... | |
version.rb | Loading commit data... | |
wikis.rb | Loading commit data... |