summaryrefslogtreecommitdiff
path: root/GITLAB_WORKHORSE_VERSION
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-02-01 18:48:32 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-02-07 22:45:02 +0800
commitd4d564c8e7d2cbc3e6742475a793ba0f630167e3 (patch)
tree4c4b7cf558f37dc8d987dd3533010436a805a858 /GITLAB_WORKHORSE_VERSION
parent0b9825ca461670941a098a664e997fca04d2d9f9 (diff)
downloadgitlab-ce-d4d564c8e7d2cbc3e6742475a793ba0f630167e3.tar.gz
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.
Diffstat (limited to 'GITLAB_WORKHORSE_VERSION')
0 files changed, 0 insertions, 0 deletions