Cast presigned URL lifespan to integer (#5515)

This commit is contained in:
Sam Schumacher
2026-01-10 10:01:57 -08:00
committed by GitHub
parent 5f1bfd109d
commit d4580076c2
+1 -1
View File
@@ -10,7 +10,7 @@ return [
// This value is used to determine the lifespan of UploadPart presigned urls that wings
// uses to upload backups to S3 storage. Value is in minutes, so this would default to an hour.
'presigned_url_lifespan' => env('BACKUP_PRESIGNED_URL_LIFESPAN', 60),
'presigned_url_lifespan' => (int) env('BACKUP_PRESIGNED_URL_LIFESPAN', 60),
// This value defines the maximal size of a single part for the S3 multipart upload during backups
// The maximal part size must be given in bytes. The default value is 5GB.