Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: file asset delete #2804

Merged
merged 1 commit into from
Nov 20, 2023
Merged

fix: file asset delete #2804

merged 1 commit into from
Nov 20, 2023

Conversation

NarayanBavisetti
Copy link
Collaborator

fix:

  • Introduced a new boolean value in the FileAsset table called is_deleted
  • A cron job will be running everyday to check if the status is true and updated_at time is greater than 7 days for the file asset then if it satisfy the condition then it will delete the record and the file from the s3.

Copy link

vercel bot commented Nov 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

6 Ignored Deployments
Name Status Preview Updated (UTC)
plane ⬜️ Ignored (Inspect) Nov 20, 2023 9:08am
plane-dev ⬜️ Ignored (Inspect) Nov 20, 2023 9:08am
plane-sh ⬜️ Ignored (Inspect) Nov 20, 2023 9:08am
plane-sh-dev ⬜️ Ignored (Inspect) Nov 20, 2023 9:08am
plane-sh-stage ⬜️ Ignored (Inspect) Nov 20, 2023 9:08am
plane-staging ⬜️ Ignored (Inspect) Nov 20, 2023 9:08am

@sriramveeraghanta sriramveeraghanta merged commit 3b3f94e into develop Nov 20, 2023
10 of 12 checks passed
@sriramveeraghanta sriramveeraghanta deleted the chore/file_asset_delete branch November 20, 2023 09:23
sriramveeraghanta pushed a commit that referenced this pull request Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants