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

implement commands to manage background jobs #1071

Merged
merged 8 commits into from
Dec 12, 2024

Conversation

kaplanelad
Copy link
Contributor

/// - If no queue provider is configured, it will return an error indicating the lack of configuration.
/// - If the Redis provider is selected, it will return an error stating that clearing jobs is not supported.
/// - Any error in the underlying provider's job clearing logic will propagate from the respective function.
///
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider ‘age_days’

@@ -418,6 +424,48 @@ impl From<DbCommands> for RunDbCommand {
}
}

#[derive(Subcommand)]
enum JobsCommands {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want this under a feature flag?

@kaplanelad kaplanelad merged commit d5fdc5b into master Dec 12, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants