diff options
author | Simon L <szaimen@e.mail.de> | 2023-05-04 12:44:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 12:44:52 +0200 |
commit | 527de8ac9d989baf30144e8f9bc0381226d4aee9 (patch) | |
tree | 1105474b81ccba56f9717cd2558abe095ef820b4 /lib/private/Preview | |
parent | 593880822914a84828f52aa369a11b5b0ef7d1b1 (diff) | |
parent | 0ced170567768ca535fb1de65fb3bb908be38640 (diff) | |
download | nextcloud-server-527de8ac9d989baf30144e8f9bc0381226d4aee9.tar.gz nextcloud-server-527de8ac9d989baf30144e8f9bc0381226d4aee9.zip |
Merge pull request #37148 from nextcloud/enh/noid/increase-imaginary-timeouts
increase imaginary timeouts as for big files the processing could take very long
Diffstat (limited to 'lib/private/Preview')
-rw-r--r-- | lib/private/Preview/Imaginary.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Preview/Imaginary.php b/lib/private/Preview/Imaginary.php index 962e5663b39..ed8b9eaa838 100644 --- a/lib/private/Preview/Imaginary.php +++ b/lib/private/Preview/Imaginary.php @@ -143,6 +143,8 @@ class Imaginary extends ProviderV2 { 'content-type' => $file->getMimeType(), 'body' => $stream, 'nextcloud' => ['allow_local_address' => true], + 'timeout' => 120, + 'connect_timeout' => 3, ]); } catch (\Exception $e) { $this->logger->error('Imaginary preview generation failed: ' . $e->getMessage(), [ |