Merge pull request #1200 from GSA/grrr

fix ExpiringDict caching solution
This commit is contained in:
Carlo Costino
2024-07-22 17:15:44 -04:00
committed by GitHub
4 changed files with 82 additions and 0 deletions

View File

@@ -441,6 +441,11 @@ def send_inbound_sms_to_service(self, inbound_sms_id, service_id):
)
@notify_celery.task(name="regenerate-job-cache")
def 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]