From d4580076c22bdd77513e53c6e72bda4c8451799f Mon Sep 17 00:00:00 2001 From: Sam Schumacher <38103916+HerrSammyDE@users.noreply.github.com> Date: Sat, 10 Jan 2026 19:01:57 +0100 Subject: [PATCH] Cast presigned URL lifespan to integer (#5515) --- config/backups.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/backups.php b/config/backups.php index f466ea4d5..e4825673e 100644 --- a/config/backups.php +++ b/config/backups.php @@ -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.