Skip to content

WIP: Remove repo from object pool upon project visibility changes

John Cai requested to merge jc-remove-pool-with-visibility-change into master

Removes repository from object pool when project visibility changes from public to private or internal

  • adds a worker class that tries to put the repo into read-only, and then reduplicates and unlinks
  • adds a after_save hook in the project model to kick off the worker
  • adds relevant tests

What are the relevant issue numbers?

gitaly#1353 (closed)

Does this MR meet the acceptance criteria?

Edited by John Cai

Merge request reports