Skip to content

Commit

Permalink
Update JOB_CREATED_AT_CUTOFF to be tomorrow.
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtwheeler committed Jun 22, 2021
1 parent 33638cf commit 4afe0e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DEBUGGING.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ from data_refinery_common.models.jobs.downloader_job import DownloaderJob
from django.utils import timezone
from datetime import datetime
JOB_CREATED_AT_CUTOFF = datetime(2019, 9, 19, tzinfo=timezone.utc)
JOB_CREATED_AT_CUTOFF = datetime(2021, 6, 23, tzinfo=timezone.utc)
ProcessorJob.failed_objects.filter(created_at__gt=JOB_CREATED_AT_CUTOFF).exclude(
pipeline_applied="JANITOR"
Expand Down
2 changes: 1 addition & 1 deletion foreman/data_refinery_foreman/foreman/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

# Setting this to a recent date will prevent the Foreman from queuing/requeuing
# jobs created before this cutoff.
JOB_CREATED_AT_CUTOFF = datetime.datetime(2019, 9, 19, tzinfo=timezone.utc)
JOB_CREATED_AT_CUTOFF = datetime.datetime(2021, 6, 23, tzinfo=timezone.utc)


def handle_repeated_failure(job) -> None:
Expand Down

0 comments on commit 4afe0e8

Please sign in to comment.