{"action":"closed","issue":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9198","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9198/labels{/name}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9198/comments","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9198/events","html_url":"https://github.com/gitlabhq/gitlabhq/issues/9198","id":70885332,"number":9198,"title":"Merge Request takes like 2 seconds","user":{"login":"tonicbupt","id":1748597,"avatar_url":"https://avatars.githubusercontent.com/u/1748597?v=3","gravatar_id":"","url":"https://api.github.com/users/tonicbupt","html_url":"https://github.com/tonicbupt","followers_url":"https://api.github.com/users/tonicbupt/followers","following_url":"https://api.github.com/users/tonicbupt/following{/other_user}","gists_url":"https://api.github.com/users/tonicbupt/gists{/gist_id}","starred_url":"https://api.github.com/users/tonicbupt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonicbupt/subscriptions","organizations_url":"https://api.github.com/users/tonicbupt/orgs","repos_url":"https://api.github.com/users/tonicbupt/repos","events_url":"https://api.github.com/users/tonicbupt/events{/privacy}","received_events_url":"https://api.github.com/users/tonicbupt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-25T09:49:33Z","updated_at":"2015-09-04T16:24:24Z","closed_at":"2015-09-04T16:24:24Z","body":"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\r\n\r\n    merge_repo.git.push(default_options, :origin, merge_request.target_branch)\r\n\r\n [here](https://github.com/gitlabhq/gitlabhq/blob/master/lib/gitlab/satellite/merge_action.rb#L33) takes 2 seconds. It's only a push and runs on SSD, shouldn't take this much time. Please help me find out reason.\r\n\r\nP.S. I found that `Grit` is no longer maintained and the author suggests [rugged](https://github.com/libgit2/rugged) instead, I'm not sure if this is because of the actions of `Grit`."}}