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

change_project_membership is very slow for projects with lots of slices #315

Open
MarshallBrinn opened this issue May 20, 2015 · 1 comment
Assignees
Milestone

Comments

@MarshallBrinn
Copy link
Contributor

When we a change the project lead of a project, we loop over all slices of the project and do a separate call to make sure the admin is a lead of the the slice (either adding or changing role).

This can take a lot of time if there are lots of slices.

Instead we should be able to make this in a small number of calls.

Imported from trac ticket #315, created by mbrinn on 07-01-2014 at 15:03, last modified: 07-01-2014 at 16:06

@MarshallBrinn MarshallBrinn self-assigned this May 20, 2015
@ahelsing
Copy link
Member

This is also true when changing the project admins of a project, since they too must be added to all slices.

Trac comment by ahelsing on 07-01-2014 at 16:06

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

No branches or pull requests

2 participants