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

feature/turn-off-consent-job #5784

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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