From 3d6411666aedf38dd130c6a193daf22d16dd4374 Mon Sep 17 00:00:00 2001 From: star-nox Date: Wed, 20 Mar 2024 11:08:59 -0500 Subject: [PATCH] updated link expiry --- ai_ta_backend/service/export_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai_ta_backend/service/export_service.py b/ai_ta_backend/service/export_service.py index 3ceaabb7..fc51f86e 100644 --- a/ai_ta_backend/service/export_service.py +++ b/ai_ta_backend/service/export_service.py @@ -233,7 +233,7 @@ def export_data_in_bg(response, download_type, course_name, s3_path): print("file uploaded to s3: ", s3_file) # generate presigned URL - s3_url = s3.generatePresignedUrl('get_object', os.environ['S3_BUCKET_NAME'], s3_path, 3600) + s3_url = s3.generatePresignedUrl('get_object', os.environ['S3_BUCKET_NAME'], s3_path, 172800) # get admin email IDs headers = {