Closed Gilbishkosma closed 8 months ago
The only concern i have for this template is that it will take time more than 15minutes(this is the maximum execution time for a function) in case the number of files to be deleted is more than 2k. Cause currently there is no method to do bulk delete in appwrite.
@Meldiron i have pushed the recommended changes
@loks0n I have pushed the requested changes
🥳 Merged!
Thanks for your contribution.
Thanks a lot @loks0n , @Meldiron , @gewenyu99 , @stnguyen90, @Haimantika 😇. I really enjoyed working on this PR and thanks for the PR watch parties.
Hey there! There were a lot of big PRs during this Hacktoberfest, and we wanted to give everyone ample time to collaborate with our engineering team. If you were able to merge your PRs during October, amazing. If it’s still not merged, don’t worry about it either. Either way, we’ve got your Hacktoberfest swag minted and ready to ship.
Please comment with your Discord username here so we can contact you about your shipping information to deliver your Hacktoberfest swag.
Hey there! There were a lot of big PRs during this Hacktoberfest, and we wanted to give everyone ample time to collaborate with our engineering team. If you were able to merge your PRs during October, amazing. If it’s still not merged, don’t worry about it either. Either way, we’ve got your Hacktoberfest swag minted and ready to ship.
Please comment with your Discord username here so we can contact you about your shipping information to deliver your Hacktoberfest swag.
@gewenyu99 my discord username is: gilbish
Be in touch soon!
What does this PR do?
This is a PR for the issue #227. In this i had to create a template to removes all files from the buckets older than X number of days.
Test Plan
I have tested the function template in Appwrite Cloud, I created 5buckets and added 10images on each bucket, then deleted the files by executing the template. Here is the video for it: demo video
Related PRs and Issues
This is a PR for the issue #227
Have you read the Contributing Guidelines on issues?
Yes, i have Read the contribution guide.