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

Avoid purging jobs which have already been deleted #4396

Merged
merged 1 commit into from
Nov 25, 2019

Conversation

rauchy
Copy link
Contributor

@rauchy rauchy commented Nov 25, 2019

What type of PR is this? (check all applicable)

  • Bug Fix

Description

Job.fetch_many will return None for jobs that have already been deleted elsewhere, so we shouldn't try to purge them (accessing .ended_at on None will cause the purge job to fail).

@rauchy rauchy added the Backend label Nov 25, 2019
@rauchy rauchy merged commit be56035 into master Nov 25, 2019
@rauchy rauchy deleted the filter-out-already-purged-jobs branch November 25, 2019 10:02
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.

2 participants