From 2dc454d206b518804aecd0551a71d338cf889c08 Mon Sep 17 00:00:00 2001
From: Dan Brown <ssddanbrown@googlemail.com>
Date: Mon, 15 Jan 2024 13:36:04 +0000
Subject: [PATCH] Uploads: Explicitly disabled s3 streaming in config

This was the default option anyway, just adding here for
better visibility of this being set.
Can't enable without issues as the app will attempt to seek which does
not work for these streams. Also have not tested on non-s3, s3-like
systems.
---
 app/Config/filesystems.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/Config/filesystems.php b/app/Config/filesystems.php
index e6ae0fed3..1319c8886 100644
--- a/app/Config/filesystems.php
+++ b/app/Config/filesystems.php
@@ -58,6 +58,7 @@ return [
             'endpoint'                => env('STORAGE_S3_ENDPOINT', null),
             'use_path_style_endpoint' => env('STORAGE_S3_ENDPOINT', null) !== null,
             'throw'                   => true,
+            'stream_reads'            => false,
         ],
 
     ],