Skip to content

Commit 0833f9d

Browse files
authored
Remove the consent job from the scheduler (#5784)
1 parent b67f8ed commit 0833f9d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

cron-scheduler.py

-10
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from datahub.company.tasks.adviser import schedule_automatic_adviser_deactivate
1414
from datahub.company.tasks.company import schedule_automatic_company_archive
1515
from datahub.company.tasks.contact import (
16-
ingest_contact_consent_data,
1716
schedule_automatic_contact_archive,
1817
)
1918
from datahub.company.tasks.export_potential import update_company_export_potential_from_csv
@@ -247,15 +246,6 @@ def schedule_jobs():
247246
schedule_export_win_auto_resend_client_email()
248247
schedule_user_reminder_migration()
249248
schedule_update_company_export_potential_from_csv()
250-
job_scheduler(
251-
max_retries=3,
252-
function=ingest_contact_consent_data,
253-
cron=EVERY_HOUR,
254-
queue_name=LONG_RUNNING_QUEUE,
255-
retry_backoff=True,
256-
description='Import contact consent data',
257-
job_timeout=HALF_DAY_IN_SECONDS,
258-
)
259249

260250

261251
def schedule_email_ingestion_tasks():

0 commit comments

Comments
 (0)