Open nathanielrindlaub opened 1 month ago
I'm actually not sure that we did end up setting a maximum number of images we could delete? I can't find any indication that we did in the the frontend or animl-api code. So a first step would be to stress test how many images deleteImages
can handle before timing out.
Right now, users can delete images via bulk-selecting them and clicking "delete images", but because it's not implemented as an async task, we limit it to a maximum of 500 images at a time to prevent timeouts. It would be great to support the deletion of more images now that we have the async task management service in place. I think this would involve the following:
deleteImagesAsync
that can accept filters as an input. We should keep the currentdeleteImages
mutation & workflow to allow for users doing the bulk-selection or individual image approach.