Skip to content
Snippets Groups Projects
Verified Commit ae509438 authored by Jonas Leder's avatar Jonas Leder
Browse files

limit s3 request to 10 minutes

parent c719db56
Branches
Tags
No related merge requests found
...@@ -24,7 +24,7 @@ function getSkills() { ...@@ -24,7 +24,7 @@ function getSkills() {
]); ]);
// Create a pre-signed URL for a request with duration of 10 miniutes // Create a pre-signed URL for a request with duration of 10 miniutes
$presignedRequest = $s3Client->createPresignedRequest($command, '60 minutes'); $presignedRequest = $s3Client->createPresignedRequest($command, '10 minutes');
// Get the actual presigned-url // Get the actual presigned-url
$downloadURL = (string) $presignedRequest->getUri(); $downloadURL = (string) $presignedRequest->getUri();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment