fix ExpiringDict caching solution

This commit is contained in:
Kenneth Kehl
2024-07-19 13:58:23 -07:00
parent 8124d981d8
commit 875d378b3d
5 changed files with 73 additions and 5 deletions

View File

@@ -441,6 +441,12 @@ def send_inbound_sms_to_service(self, inbound_sms_id, service_id):
)
@notify_celery.task(name="regenerate-job-cache")
def regenerate_job_cache():
print("ENTER REGENERATE_JOB_CACHE")
s3.get_s3_files()
@notify_celery.task(name="process-incomplete-jobs")
def process_incomplete_jobs(job_ids):
jobs = [dao_get_job_by_id(job_id) for job_id in job_ids]