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

Media item lifecycle improvements #18

Merged
merged 2 commits into from
Feb 10, 2024

Conversation

kieraneglin
Copy link
Owner

@kieraneglin kieraneglin commented Feb 10, 2024

What's new?

  • adds dequeue_pending_media_tasks method for killing all tasks for media items
  • adds lifecycle-related fields to media items and sources
  • adds maybe_handle_media_tasks to sources to either kickoff or kill downloading tasks when download_media is changed

What's changed?

  • updates the name of enqueue_pending_media_downloads to enqueue_pending_media_tasks
  • updates various methods to write to the new lifecycle-related fields

What's fixed?

N/A

Any other comments?

N/A

@kieraneglin kieraneglin changed the title Ke/media item lifecycle improvements Media item lifecycle improvements Feb 10, 2024
@kieraneglin kieraneglin self-assigned this Feb 10, 2024
@kieraneglin kieraneglin merged commit 219320c into master Feb 10, 2024
1 check passed
@kieraneglin kieraneglin deleted the ke/media-item-lifecycle-improvements branch February 10, 2024 04:51
kieraneglin added a commit that referenced this pull request Mar 29, 2024
* Added jobs for enqueuing/dequeuing media based on source's status

* adds lifecycle columns to source and media_item tables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant