Skip to content

Commit d458007

Browse files
authored
Cast presigned URL lifespan to integer (#5515)
1 parent 5f1bfd1 commit d458007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/backups.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// This value is used to determine the lifespan of UploadPart presigned urls that wings
1212
// uses to upload backups to S3 storage. Value is in minutes, so this would default to an hour.
13-
'presigned_url_lifespan' => env('BACKUP_PRESIGNED_URL_LIFESPAN', 60),
13+
'presigned_url_lifespan' => (int) env('BACKUP_PRESIGNED_URL_LIFESPAN', 60),
1414

1515
// This value defines the maximal size of a single part for the S3 multipart upload during backups
1616
// The maximal part size must be given in bytes. The default value is 5GB.

0 commit comments

Comments
 (0)