• Toon Claes's avatar
    Use worker to destroy namespaceless projects in post-deploy · 0ad80cab
    Toon Claes authored
    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.
    0ad80cab
namespaceless_project_destroy_worker_spec.rb 2.29 KB