Open kubitron opened 12 years ago
Hmmm. I have a large repository that is relatively slow. If this fixes the slowdown, that'd be really awesome. :)
Note that I've added another commit to this branch which makes a slight fix and adds a DB index (make sure to run db:migrate_plugins afterwards).
Since redmine 1.2x, the fetch_changesets routine in repository/git.rb causes a huge number of saves to the repository model (which, in turn causes a huge number of calls to update_repositories). The result is unusable slowness under a number of circumstances.
I have a pull request fixes this and a couple of other cases of excessive update_repositories traffic. Alternatively, one could grab the "performance" branch from my fork:
github.com/kubitron/redmine_git_hosting
--KUBI--