Skip to content

Commit

Permalink
Remove the consent job from the scheduler (#5784)
Browse files Browse the repository at this point in the history
  • Loading branch information
chopkinsmade authored Nov 12, 2024
1 parent b67f8ed commit 0833f9d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions cron-scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from datahub.company.tasks.adviser import schedule_automatic_adviser_deactivate
from datahub.company.tasks.company import schedule_automatic_company_archive
from datahub.company.tasks.contact import (
ingest_contact_consent_data,
schedule_automatic_contact_archive,
)
from datahub.company.tasks.export_potential import update_company_export_potential_from_csv
Expand Down Expand Up @@ -247,15 +246,6 @@ def schedule_jobs():
schedule_export_win_auto_resend_client_email()
schedule_user_reminder_migration()
schedule_update_company_export_potential_from_csv()
job_scheduler(
max_retries=3,
function=ingest_contact_consent_data,
cron=EVERY_HOUR,
queue_name=LONG_RUNNING_QUEUE,
retry_backoff=True,
description='Import contact consent data',
job_timeout=HALF_DAY_IN_SECONDS,
)


def schedule_email_ingestion_tasks():
Expand Down

0 comments on commit 0833f9d

Please sign in to comment.