gitlab-org--gitlab-foss/app/helpers
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
..
accounts_helper.rb
appearances_helper.rb Add custom brand text on new project pages 2017-12-04 17:22:59 +01:00
application_helper.rb Build the locale path with an _ instead of a - 2017-10-18 13:10:35 +02:00
application_settings_helper.rb Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
auth_helper.rb
auto_devops_helper.rb Remove Auto DevOps checkboxes - backend 2017-12-04 17:47:38 +01:00
avatars_helper.rb
award_emoji_helper.rb
blame_helper.rb
blob_helper.rb
boards_helper.rb Use path helper instead of url helper 2017-12-03 18:46:07 +00:00
branches_helper.rb
breadcrumbs_helper.rb
broadcast_messages_helper.rb
builds_helper.rb Use relative _path helper URLs in the GitLab UI 2017-12-07 11:19:37 -06:00
button_helper.rb Fixed clone buttons adding description when append_link is false 2017-12-05 17:39:18 -06:00
ci_status_helper.rb Replace ci_status_path with pipeline_path 2017-11-14 12:45:43 +01:00
commits_helper.rb corrects the url building 2017-12-07 09:01:23 -05:00
compare_helper.rb
components_helper.rb
conversational_development_index_helper.rb
dashboard_helper.rb
defer_script_tag_helper.rb
diff_helper.rb Merge branch '18040-rubocop-line-break-after-guard-clause' into 'master' 2017-11-20 09:22:14 +00:00
dropdowns_helper.rb
emails_helper.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
emoji_helper.rb
environment_helper.rb
environments_helper.rb
events_helper.rb Resolve "DashboardController#activity.json is slow due to SQL" 2017-11-06 16:52:56 +00:00
explore_helper.rb
external_wiki_helper.rb
form_helper.rb
git_helper.rb
gitlab_routing_helper.rb CE port of code changed for epics 2017-11-02 07:14:35 +01:00
graph_helper.rb Fix graph notes number duplication. 2017-12-03 02:37:29 +03:00
groups_helper.rb
hooks_helper.rb
icons_helper.rb Fixed Function + Test based on MR 2017-11-09 17:35:12 +01:00
import_helper.rb
instance_configuration_helper.rb Added ssh fingerprint, gitlab ci and pages information in an instance configuration page 2017-10-25 23:51:26 +03:00
issuables_helper.rb Backport epic tasklist 2017-11-29 09:29:06 +00:00
issues_helper.rb
javascript_helper.rb
kerberos_spnego_helper.rb
labels_helper.rb
lazy_image_tag_helper.rb
markup_helper.rb Merge branch 'ce-backport-3615' into 'master' 2017-12-07 12:47:46 +00:00
mattermost_helper.rb
members_helper.rb
merge_requests_helper.rb adding view and feature specs 2017-12-07 09:06:59 -05:00
milestones_helper.rb
milestones_routing_helper.rb
namespaces_helper.rb Guarantee the order of groups in the dropdown 2017-11-14 16:57:41 +01:00
nav_helper.rb Fix overlap of right-sidebar and wiki create page form 2017-10-31 03:23:47 -05:00
notes_helper.rb
notifications_helper.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
numbers_helper.rb
page_layout_helper.rb
pagination_helper.rb
performance_bar_helper.rb
pipeline_schedules_helper.rb
preferences_helper.rb
profiles_helper.rb
projects_helper.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
rss_helper.rb
runners_helper.rb
search_helper.rb Disables autocomplete in filtered search 2017-11-20 09:04:27 +01:00
selects_helper.rb
sentry_helper.rb
services_helper.rb
sidekiq_helper.rb
snippets_helper.rb
sorting_helper.rb
storage_health_helper.rb Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
storage_helper.rb
submodule_helper.rb
system_note_helper.rb
tab_helper.rb
tags_helper.rb
time_helper.rb
todos_helper.rb
tree_helper.rb Merge branch '18040-rubocop-line-break-after-guard-clause' into 'master' 2017-11-20 09:22:14 +00:00
triggers_helper.rb
u2f_helper.rb
users_helper.rb
version_check_helper.rb
visibility_level_helper.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
webpack_helper.rb
wiki_helper.rb
workhorse_helper.rb