From 5830d1143dbf6b2958153233279896961e9a44df Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Wed, 5 Sep 2018 23:33:30 -0700 Subject: Delete a container registry asynchronously When a container registry has many tags, it's easy for the DELETE call to take more than 60 seconds and fail. This can also leave the registry in a bad state with null bytes since some of the images have been deleted with tags still pointing to them. In addition, we have to prevent users from accidentally initiating the delete multiple times or this could leave the registry with orphaned tags. This commit also adds a flash message to notify the user the registry is scheduled for deletion. Closes #49926, #51063 --- app/workers/all_queues.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/workers/all_queues.yml') diff --git a/app/workers/all_queues.yml b/app/workers/all_queues.yml index ae9dc8d4857..1eeb972cee9 100644 --- a/app/workers/all_queues.yml +++ b/app/workers/all_queues.yml @@ -87,6 +87,7 @@ - authorized_projects - background_migration - create_gpg_signature +- delete_container_repository - delete_merged_branches - delete_user - email_receiver -- cgit v1.2.3