use shared memory instead of expiring dict for jobs cache

This commit is contained in:
Kenneth Kehl
2024-09-26 11:56:39 -07:00
parent d27d877f68
commit 8aae0d59b4
3 changed files with 50 additions and 44 deletions

View File

@@ -446,6 +446,11 @@ def regenerate_job_cache():
s3.get_s3_files()
@notify_celery.task(name="clean-job-cache")
def clean_job_cache():
s3.clean_cache()
@notify_celery.task(name="delete-old-s3-objects")
def delete_old_s3_objects():
s3.cleanup_old_s3_objects()