Disabling mirror feature while mirror is being updated does not decrement capacity size before disabling
Scenario
- Set project as mirror
- Mirror gets scheduled to run, by being added to a Redis set
- Mirror gets disabled
- Mirror does not get removed from the Redis set, meaning it will stay there forever
This problem affects the number of mirrors we can schedule every time since that project, even though it is not a mirror anymore, still has its key in the Redis set
\cc @DouweM