This commit is contained in:
Kenneth Kehl
2025-07-10 14:26:56 -07:00
parent 2bfcd4a54d
commit c81264f098
2 changed files with 0 additions and 14 deletions

View File

@@ -73,14 +73,10 @@ def delete_notifications_older_than_retention():
)
@notify_celery.task(name="delete-sms-notifications")
# @cronitor("delete-sms-notifications")
def delete_sms_notifications_older_than_retention():
_delete_notifications_older_than_retention_by_type(NotificationType.SMS)
@notify_celery.task(name="delete-email-notifications")
# @cronitor("delete-email-notifications")
def delete_email_notifications_older_than_retention():
_delete_notifications_older_than_retention_by_type(NotificationType.EMAIL)

View File

@@ -316,16 +316,6 @@ class Config(object):
"schedule": crontab(hour=8, minute=0),
"options": {"queue": QueueNames.PERIODIC},
},
"delete-sms-notifications": {
"task": "delete-sms-notifications",
"schedule": crontab(hour=8, minute=46),
"options": {"queue": QueueNames.PERIODIC},
},
"delete-email-notifications": {
"task": "delete-sms-notifications",
"schedule": crontab(hour=8, minute=17),
"options": {"queue": QueueNames.PERIODIC},
},
"check-for-services-with-high-failure-rates-or-sending-to-tv-numbers": {
"task": "check-for-services-with-high-failure-rates-or-sending-to-tv-numbers",
"schedule": crontab(day_of_week="mon-fri", hour=14, minute=30),