mirror of
https://github.com/nextcloud/server.git
synced 2026-03-10 18:31:16 -04:00
Merge pull request #38081 from nextcloud/backport/37148/stable26
[stable26] increase imaginary timeouts as for big files the processing could take very long
This commit is contained in:
commit
db876019c4
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Reference in a new issue