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

option to always_delete_completed_jobs_including_failed #2005

Open
wearpants opened this issue Oct 30, 2024 · 2 comments
Open

option to always_delete_completed_jobs_including_failed #2005

wearpants opened this issue Oct 30, 2024 · 2 comments
Assignees
Labels
community This issue came from slack community workspace question Further information is requested

Comments

@wearpants
Copy link

Feature description

in addition to

[load]
delete_completed_jobs=true

it’d be helpful to have an option to always_delete_completed_jobs_including_failed=true

Are you a dlt user?

Yes, I'm already a dlt user.

Use case

in one of my deploys, I’m running dlt every 60s, and repeated failures could pile up and lead to unbounded performance degradation - I’d rather throw the data away & send an alert & let the user manually debug things

Proposed solution

add this option:

[load]
always_delete_completed_jobs_including_failed=true

Related issues

No response

@anuunchin anuunchin added the community This issue came from slack community workspace label Oct 30, 2024
@rudolfix
Copy link
Collaborator

rudolfix commented Nov 4, 2024

@wearpants
if you just want to clean up the working folder fully, just go for

pipeline.drop()

ie. in finally block after load completes. let me know if that is sufficient to solve your problem

@rudolfix rudolfix self-assigned this Nov 4, 2024
@rudolfix rudolfix added the question Further information is requested label Nov 4, 2024
@wearpants
Copy link
Author

wearpants commented Nov 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community This issue came from slack community workspace question Further information is requested
Projects
Status: In Progress
Development

No branches or pull requests

3 participants