gitlab-org--gitlab-foss/lib
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
..
api Merge branch '41763-search-api' into 'master' 2018-02-07 14:33:29 +00:00
assets
backup port of 594e6a0a625^..f74c90f68c6 2018-02-01 12:14:46 -05:00
banzai Use %r around multi-line regular expressions 2018-02-02 15:13:32 -06:00
bitbucket
constraints Validate User username only on Namespace, and bubble up appropriately 2018-02-06 12:09:03 -06:00
container_registry Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
declarative_policy
generators/rails/post_deployment_migration
gitaly
gitlab Try not to hold env and release the controller 2018-02-07 22:45:02 +08:00
google_api
haml_lint
json_web_token
mattermost
microsoft_teams
omni_auth/strategies
peek
rouge/formatters
rspec_flaky
support
system_check
tasks
additional_email_headers_interceptor.rb
after_commit_queue.rb
banzai.rb
carrier_wave_string_file.rb File upload UI obeys LFS filters 2018-02-06 15:26:25 +00:00
declarative_policy.rb
disable_email_interceptor.rb
email_template_interceptor.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
event_filter.rb
expand_variables.rb
extracts_path.rb Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
feature.rb
file_size_validator.rb
gitlab.rb
gt_one_coercion.rb
milestone_array.rb
repository_cache.rb
static_model.rb
system_check.rb
unfold_form.rb
uploaded_file.rb
version_check.rb