Skip to content

Project destroy relationship speed fix

Created by: mutewinter

Removes destroy callback for UsersProjects when a project is destroyed. Previously, the after_destroy hook for UsersProjects would be called for every user on the project, causing a delay of about 2 seconds per user when destroying a project.

This works because the gitolite config will be updated at at the end to remove the entry entirely, thereby removing the users anyway.

Merge request reports

Loading