limit s3 request to 10 minutes

This commit is contained in:
Jonas Leder 2022-07-05 12:27:31 +02:00
parent c719db5657
commit ae50943802
No known key found for this signature in database
GPG key ID: CC3C488E27DFF5CA

View file

@ -24,7 +24,7 @@ function getSkills() {
]);
// 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
$downloadURL = (string) $presignedRequest->getUri();