| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
There might be some projects where the namespace was removed, but the
project wasn't. For these the projects still have a `namespace_id`
set. So this adds a post-deploy migration remove all projects that are
pending delete, and have a `namespace_id` that is non-existing.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Since this is a cleanup, ran by a post-deploy, there is no need to lookup the
admin to run the cleanup.
|
|
Destroying projects can be very time consuming. So instead of destroying them in
the post-deploy, just schedule them and make Sidekiq do the hard work.
They are scheduled in batches of 5000 records. This way the number of database
requests is limited while also the amount data read to memory is limited.
|