increase imaginary timeouts as for big files the processing could take very long

Signed-off-by: Simon L <szaimen@e.mail.de>
pull/37148/head
Simon L 4 years ago
parent 691aa8d025
commit 0ced170567
  1. 2
      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(), [

Loading…
Cancel
Save