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

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-03-09 13:15:35 +01:00
parent 691aa8d025
commit 0ced170567

View file

@ -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(), [