gitlab-org--gitlab-foss/config/initializers
Yorick Peterse cca61980d5
Track and act upon the number of executed queries
This ensures that we have more visibility in the number of SQL queries
that are executed in web requests. The current threshold is hardcoded to
100 as we will rarely (maybe once or twice) change it.

In production and development we use Sentry if enabled, in the test
environment we raise an error. This feature is also only enabled in
production/staging when running on GitLab.com as it's not very useful to
other users.
2018-02-01 17:00:46 +01:00
..
0_acts_as_taggable.rb Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
0_inflections.rb Incorporate review 2017-09-04 15:44:46 +02:00
0_post_deployment_migrations.rb Port some non-EE-specific config/ changes to CE 2018-01-25 14:14:53 +01:00
1_settings.rb Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
2_app.rb
5_backend.rb Reinstall shell on the test env if it's outdated 2017-06-19 17:06:17 -04:00
6_validations.rb Allow a failure_wait_time of 0 for storage access 2017-08-16 14:15:50 +02:00
7_prometheus_metrics.rb Update prometheus-client-mmap gem to highly optimized version 2017-12-07 17:47:23 +01:00
7_redis.rb Support multiple Redis instances based on queue type 2017-07-11 03:35:47 +00:00
8_gitaly.rb Remove option to disable Gitaly completely 2017-07-07 12:48:34 +02:00
8_metrics.rb Move prometheus middle ware to prometheus initialized. 2017-11-23 23:32:55 +01:00
active_record_array_type_casting.rb Only create commit GPG signature when necessary 2017-08-16 18:57:50 +02:00
active_record_data_types.rb Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
active_record_locking.rb Re-enable SqlInjection and CommandInjection 2017-08-08 10:50:54 -04:00
active_record_mysql_timestamp.rb Make sure MySQL would not use CURRENT_TIMESTAMP 2017-08-15 19:07:28 +08:00
active_record_preloader.rb Do not try to preload Commits when using Note.includes(:noteable) 2017-05-31 11:12:26 -05:00
active_record_schema_ignore_tables.rb Ignore temporary table in schema 2017-12-11 12:38:22 -08:00
active_record_table_definition.rb Add datetime_with_timezone to table definition 2017-06-22 09:21:23 -07:00
additional_headers_interceptor.rb Set Auto-Submitted: auto-generated header to emails 2017-02-15 23:15:48 +05:00
ar5_batching.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
ar5_pg_10_support.rb Don't assume postgresql in two initializers 2018-01-30 19:00:44 +00:00
ar_speed_up_migration_checking.rb Make ActiveRecord::Migrator idempotent again in test env 2017-05-29 14:09:24 +02:00
asset_sync.rb Rename asset sync related AWS variables 2018-01-01 21:50:41 +05:30
attr_encrypted_no_db_connection.rb Use Module#prepend instead of alias_method_chain 2016-09-30 07:08:25 -03:00
backtrace_silencers.rb
batch_loader.rb Batchload blobs for diff generation 2017-11-21 13:53:26 +01:00
bootstrap_form.rb Convert app/views/profiles/show.html.haml to bootstrap_form 2017-06-22 15:42:44 +01:00
bullet.rb Enable the bullet_logger setting; enable raise in test environment 2017-04-03 17:15:09 -04:00
carrierwave.rb Update Carrierwave and fog-core 2017-05-01 20:15:16 +00:00
chronic_duration.rb Enable exceptions on ChronicDuration 2016-06-13 11:03:30 +01:00
connection_fix.rb Update warn message for MySQL fix 2016-09-28 23:48:32 +00:00
cookies_serializer.rb
date_time_formats.rb Port some non-EE-specific config/ changes to CE 2018-01-25 14:14:53 +01:00
default_url_options.rb Fix images in emails 2016-06-16 11:47:01 +01:00
devise.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
devise_password_length.rb.example
disable_email_interceptor.rb
doorkeeper.rb Clean up read_registry scope changes 2017-09-18 08:39:01 -04:00
doorkeeper_openid_connect.rb Upgrade doorkeeper-openid_connect 2017-09-20 17:38:33 +02:00
email_template_interceptor.rb Add new configuration setting to enable/disable HTML emails. 2016-11-28 17:00:03 -05:00
etag_caching.rb Add middleware for ETag caching with Redis 2017-03-01 16:48:01 +01:00
fast_gettext.rb Ignore fuzzy translations 2017-08-31 14:10:04 +02:00
fix_local_cache_middleware.rb Move ModuleWithInstanceVariables to Gitlab namespace 2017-11-22 17:06:57 +08:00
flipper.rb Update flipper to 0.11.0 and take advantage of the new features 2017-12-14 02:11:11 +01:00
forbid_sidekiq_in_transactions.rb Execute project hooks and services after commit when moving an issue 2017-12-22 17:19:50 +01:00
gettext_rails_i18n_patch.rb Load only the currently needed JS locale file 2017-10-04 11:23:52 +00:00
gitlab_shell_secret_token.rb Load Github::Shell's secret token from file on initialization instead of every request. 2016-10-06 11:22:37 -04:00
gitlab_workhorse_secret.rb Verify JWT messages from gitlab-workhorse 2016-09-05 15:05:31 +02:00
go_get.rb
gollum.rb Fixing bug related to wiki last version 2018-01-09 16:01:09 +00:00
grape_route_helpers_fix.rb Fix grape-route-helper route shadowing 2018-01-29 15:28:14 -06:00
grpc.rb Add grpc.log for Gitaly 2017-10-03 11:28:40 +00:00
hamlit.rb Enable the Style/TrailingCommaInArguments cop 2017-05-10 18:25:45 +02:00
health_check.rb Enable Style/WordArray 2017-02-23 09:32:41 -06:00
kaminari_config.rb
lograge.rb Detect n+1 issues involving Gitaly 2017-09-19 10:55:37 +00:00
mime_types.rb No need for this variable. 2016-09-12 14:23:32 -06:00
mysql_ignore_postgresql_options.rb No more and/or 2017-02-21 16:31:14 -06:00
mysql_set_length_for_binary_indexes.rb use Module#prepend instead of alias_method_chain 2017-07-27 15:46:03 +02:00
omniauth.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
peek.rb Don't assume postgresql in two initializers 2018-01-30 19:00:44 +00:00
postgresql_cte.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
postgresql_limit_fix.rb Use Module#prepend instead of alias_method_chain 2016-09-30 07:08:25 -03:00
postgresql_opclasses_support.rb Fix regular expression used for opclasses to not be confused by partial index clause 2017-09-19 11:52:14 +01:00
premailer.rb Don't remove IDs via premailer 2016-05-25 16:56:06 -04:00
query_limiting.rb Track and act upon the number of executed queries 2018-02-01 17:00:46 +01:00
rack_attack.rb.example Import from Github using Personal Access Tokens. 2016-06-30 18:48:17 +02:00
rack_attack_git_basic_auth.rb
rack_attack_global.rb Don't add methods to Rack::Attack 2017-11-17 09:58:18 +01:00
rack_attack_logging.rb Add logging for rack attack events 2016-11-18 15:05:22 -05:00
rack_lineprof.rb No more and/or 2017-02-21 16:31:14 -06:00
relative_naming_ci_namespace.rb Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
relative_url.rb.sample
request_context.rb Allow limiting logging in users from too many different IPs. 2017-03-06 15:41:24 +01:00
request_profiler.rb Don't require lib/gitlab/request_profiler/middleware.rb in config/initializers/request_profiler.rb 2017-02-02 17:22:10 +01:00
routing_draw.rb Refactor project routing 2016-11-07 17:14:34 +02:00
rspec_profiling.rb Move ModuleWithInstanceVariables to Gitlab namespace 2017-11-22 17:06:57 +08:00
secret_token.rb Upgrade doorkeeper-openid_connect 2017-09-20 17:38:33 +02:00
sentry.rb Send API parameters as extra data for sentry errors 2017-10-05 18:31:34 -03:00
server_uptime.rb 31616-add-uptime-of-gitlab-instance-in-admin-area 2017-05-29 15:46:25 -05:00
session_store.rb current_application_settings belongs on Gitlab::CurrentSettings 2017-08-31 13:38:33 +01:00
sherlock.rb
sidekiq.rb Use a dedicated queue for each worker 2017-12-12 17:36:20 +01:00
smtp_settings.rb.sample Add SMTP as default delivery method to match gitlab-org/omnibus-gitlab!826 2016-06-24 11:56:52 -07:00
static_files.rb Never connect to webpack-dev-server over SSL 2017-09-15 14:41:52 +02:00
time_zone.rb
trusted_proxies.rb Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
warden.rb Log and send a system hook if a blocked user fails to login 2018-01-14 22:22:06 -08:00
workhorse_multipart.rb Update form to properly set the path 2017-08-22 11:33:18 +02:00
wrap_parameters.rb