Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance fix for redmine_git_hosting. #120

Closed
wants to merge 3 commits into from

Conversation

kubitron
Copy link

Note that the following patch is subsumed (included in) the resilience patch, issue #124

This prevents a ridiculous number of calls to update_repositories caused by the fact that redmine saves to the repository model for every commit that it examines. This patch also prevents multiple calls to update_repositories when adding groups to the membership of a project.

After applying the patches, you must migrate the plugins:

rake db:migrate_plugins

Restart afterwards.

This prevents a rediculous number of calls to update_repositories
caused by the fact that redmine saves to the repository model for
every commit that it examines.  This patch also prevents multiple
calls to update_repositories when adding groups to the membership
of a project.

You need to migrate plugins to take advantage of new indices:

	rake db:migrate_plugins
This patch should remove all remaining need for recursive calls to update_repositories.
Will log such calls as errors in upcoming major code fix...
@kubitron
Copy link
Author

I am closing this patch, since it makes a lot more sense to pull the resilience patch (#124) instead.

--KUBI--

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant