From faf12fa6308b63f79168b60aab3ca73b5ba13097 Mon Sep 17 00:00:00 2001 From: Obada Haddad Date: Tue, 12 Nov 2024 17:16:16 +0100 Subject: [PATCH] Changed timeout from 1 day to 5 days for submissions (MinIO link) --- src/utils/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/data.py b/src/utils/data.py index 7d743f361..d7b7669c7 100644 --- a/src/utils/data.py +++ b/src/utils/data.py @@ -43,7 +43,7 @@ def __call__(self, instance, filename): return path -def make_url_sassy(path, permission='r', duration=60 * 60 * 24, content_type='application/zip'): +def make_url_sassy(path, permission='r', duration=60 * 60 * 24 * 5, content_type='application/zip'): assert permission in ('r', 'w'), "SASSY urls only support read and write ('r' or 'w' permission)" client_method = None # defined based on storage backend