gitlab-org--gitlab-foss/lib/gitlab
Lin Jen-Shin d4d564c8e7 Try not to hold env and release the controller
after the request. This way, we could release the
project referred from the controller, which potentially
referred a repository which potentially allocated a lot of
memories.

Before this change, we could hold the last request data
and cannot release the memory. After this change, the
largest request data should be able to be collected from GC.

This might not impact the instances having heavy load,
as the last request should be changing all the time,
and GC won't kick in for each request anyway.

However it could still potentially allow us to free more
memories for each GC runs, because now we could free one
more request anyway.
2018-02-07 22:45:02 +08:00
..
auth
background_migration
badge
bare_repository_import
bitbucket_import
cache
checks
ci
conflict
cycle_analytics
data_builder
database
dependency_linker
diff
downtime_check
email
etag_caching
fogbugz_import
gfm
git
gitaly_client
github_import
gitlab_import
google_code_import
gpg
grape_logging
graphs
health_checks
hook_data
i18n
import_export
kubernetes
ldap
legacy_github_import
metrics
middleware Try not to hold env and release the controller 2018-02-07 22:45:02 +08:00
o_auth
performance_bar
popen
project_authorizations
prometheus
query_limiting
quick_actions
redis
request_profiler
saml
sanitizers
serializer
sherlock
sidekiq_middleware
sidekiq_status
sidekiq_versioning
slash_commands
sql
storage_check
template
testing
utils
view/presenter
access.rb
action_rate_limiter.rb
allowable.rb
app_logger.rb
asciidoc.rb
auth.rb
background_migration.rb
blame.rb
changes_list.rb
chat_name_token.rb
ci_access.rb
closing_issue_extractor.rb
color_schemes.rb
config_helper.rb
contributions_calendar.rb
contributor.rb
current_settings.rb
daemon.rb
database.rb
dependency_linker.rb
downtime_check.rb
ee_compat_check.rb
emoji.rb
encoding_helper.rb
environment.rb
environment_logger.rb
exclusive_lease.rb
fake_application_settings.rb
file_detector.rb
file_finder.rb
git.rb
git_access.rb
git_access_wiki.rb
git_logger.rb
git_post_receive.rb
git_ref_validator.rb
gitaly_client.rb
github_import.rb
gl_id.rb
gl_repository.rb
gon_helper.rb
gpg.rb
group_hierarchy.rb
highlight.rb
i18n.rb
identifier.rb
import_export.rb
import_formatter.rb
import_sources.rb
incoming_email.rb
insecure_key_fingerprint.rb
issuable_metadata.rb
issuable_sorter.rb
issuables_count_for_state.rb
issues_labels.rb
job_waiter.rb
kubernetes.rb
lazy.rb
lfs_token.rb
logger.rb
mail_room.rb
markup_helper.rb
metrics.rb
multi_collection_paginator.rb
o_auth.rb
optimistic_locking.rb
other_markup.rb
otp_key_rotator.rb
pages.rb
pages_transfer.rb
path_regex.rb
performance_bar.rb
polling_interval.rb
popen.rb
profiler.rb
project_search_results.rb
project_template.rb
project_transfer.rb
prometheus_client.rb
protocol_access.rb
query_limiting.rb
recaptcha.rb
reference_counter.rb
reference_extractor.rb
regex.rb
repo_path.rb
repository_check_logger.rb
request_context.rb
request_forgery_protection.rb
request_profiler.rb
route_map.rb
routing.rb
search_results.rb
seeder.rb
sentry.rb
setup_helper.rb
shell.rb
shell_adapter.rb
sherlock.rb
sidekiq_config.rb
sidekiq_logger.rb
sidekiq_status.rb
sidekiq_throttler.rb
sidekiq_versioning.rb
snippet_search_results.rb
ssh_public_key.rb
storage_check.rb
string_range_marker.rb
string_regex_marker.rb
task_helpers.rb
tcp_checker.rb
themes.rb
time_tracking_formatter.rb
timeless.rb
untrusted_regexp.rb
update_path_error.rb
upgrader.rb
uploads_transfer.rb
url_blocker.rb
url_builder.rb
url_sanitizer.rb
usage_data.rb
user_access.rb
user_activities.rb
utils.rb
version_info.rb
visibility_level.rb
workhorse.rb