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 current_application_settings belongs on Gitlab::CurrentSettings 2017-08-31 13:38:33 +01:00
auto_devops_helper.rb Remove Auto DevOps checkboxes - backend 2017-12-04 17:47:38 +01:00
avatars_helper.rb Add data-src when image is to be lazy loaded, use tag helper instead of image_tag helper 2017-09-25 11:49:20 +05:30
award_emoji_helper.rb Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
blame_helper.rb Fix division by zero for blame age map 2017-08-24 22:27:31 -05:00
blob_helper.rb Clean up some backend 2017-08-03 14:29:35 +02:00
boards_helper.rb Use path helper instead of url helper 2017-12-03 18:46:07 +00:00
branches_helper.rb Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
breadcrumbs_helper.rb Merge branch 'icons-update-nav-bars' into 'master' 2017-09-29 13:32:17 +00:00
broadcast_messages_helper.rb #13336 - display multiple messages in both the UI and git output 2017-06-15 13:47:33 +00:00
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 Stop using branch_names.include? and use branch_exists? 2017-10-10 14:56:04 +00:00
components_helper.rb
conversational_development_index_helper.rb Add Conversational Development Index page to admin panel 2017-06-01 17:37:21 +02:00
dashboard_helper.rb
defer_script_tag_helper.rb Resolve "Specific Async Script Loading by using a Page Variable" 2017-08-03 20:31:53 +00:00
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 Move "Move to different project" to sidebar 2017-09-03 22:03:17 -05:00
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 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
environments_helper.rb Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
events_helper.rb Resolve "DashboardController#activity.json is slow due to SQL" 2017-11-06 16:52:56 +00:00
explore_helper.rb Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
external_wiki_helper.rb Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
form_helper.rb More review comments 2017-08-30 21:20:00 +01:00
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 Changed Group Icon URL Back to try option 2017-10-10 10:59:07 +02:00
hooks_helper.rb Wrong data type when testing webhooks 2017-07-20 15:12:06 +00:00
icons_helper.rb Fixed Function + Test based on MR 2017-11-09 17:35:12 +01:00
import_helper.rb Whitelist or fix additional Gitlab/PublicSend cop violations 2017-08-14 12:14:11 -04:00
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 Removes default scope from sortable 2017-09-07 13:01:59 +01:00
javascript_helper.rb remove needless rails helper 2017-07-18 04:15:02 -05:00
kerberos_spnego_helper.rb
labels_helper.rb Group boards CE backport 2017-08-28 18:56:49 -03:00
lazy_image_tag_helper.rb Another Change for cleanup 2017-10-05 17:49:11 +02:00
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 Add tooltip for milestone due date to issue and merge request lists 2017-09-20 07:11:49 +11:00
milestones_routing_helper.rb replace is_group_milestone? with group_milestone? 2017-08-29 11:14:41 +03:00
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 Support discussion locking in the backend 2017-09-14 14:50:32 +02:00
notifications_helper.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
numbers_helper.rb Add 1000+ counters (instead of inifnite) to jobs controller 2017-10-06 14:43:48 +02:00
page_layout_helper.rb Add Page-Title header to tree and blob JSON endpoints 2017-09-26 17:31:47 +02:00
pagination_helper.rb Use Prev/Next pagination for exploring projects 2017-08-14 13:53:42 +02:00
performance_bar_helper.rb Improve & fix the performance bar UI and behavior 2017-07-06 19:37:31 +00:00
pipeline_schedules_helper.rb Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
preferences_helper.rb Add readme only option as project view 2017-10-16 15:33:20 -07:00
profiles_helper.rb Profile updates from providers 2017-09-06 16:38:52 +03:00
projects_helper.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
rss_helper.rb atom links with rss token instead of private token 2017-05-24 22:29:59 +02:00
runners_helper.rb
search_helper.rb Disables autocomplete in filtered search 2017-11-20 09:04:27 +01:00
selects_helper.rb 'New issue'/'New merge request' dropdowns should show only projects with issues/merge requests feature enabled 2017-05-30 15:35:49 +11:00
sentry_helper.rb
services_helper.rb Remove description for build_events, add pipeline_events 2017-04-25 19:26:11 +08:00
sidekiq_helper.rb
snippets_helper.rb Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
sorting_helper.rb Groups tree enhancements for Groups Dashboard and Group Homepage 2017-10-04 22:49:42 +02:00
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 Fixes project denial of service via gitmodules using Extended ASCII. 2017-09-15 17:30:55 +01:00
system_note_helper.rb Fix locked and unlocked icons 2017-09-27 13:35:42 +01:00
tab_helper.rb Remove title attribute from sidebar elements 2017-09-13 14:30:31 +01:00
tags_helper.rb Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
time_helper.rb
todos_helper.rb Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
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 Recommend using V4 API on chat slash command integrations 2017-07-19 15:11:59 -03:00
u2f_helper.rb Enable FIDO U2F on Opera browser, see http://caniuse.com/#feat=u2f 2017-06-11 17:00:48 +02:00
users_helper.rb Convert app/views/profiles/show.html.haml to bootstrap_form 2017-06-22 15:42:44 +01:00
version_check_helper.rb Fix race condition with dispatcher.js 2017-08-15 16:09:36 +01:00
visibility_level_helper.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
webpack_helper.rb fix relative_url_root support for webpack chunks 2017-07-28 12:49:07 -05:00
wiki_helper.rb fixed up JS to use a js-* class 2017-09-06 11:55:23 +01:00
workhorse_helper.rb