Merge Request takes like 2 seconds
Created by: tonicbupt
I run Gitlab on my server and data is stored within an SSD volume, but I found it takes like 2 seconds to accept an merge request even the repository is very small and contains only 5 files. Then I look into code and print the time takes for each function, I found
merge_repo.git.push(default_options, :origin, merge_request.target_branch)
here takes 2 seconds. It's only a push and runs on SSD, shouldn't take this much time. Please help me find out reason.
P.S. I found that Grit
is no longer maintained and the author suggests rugged instead, I'm not sure if this is because of the actions of Grit
.