api(client): fix decompress timeout (#4568)

This commit is contained in:
VibeGAMESNL 2022-12-13 00:07:13 +01:00 committed by GitHub
parent 428311e854
commit 680bce6d94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -231,6 +231,9 @@ class DaemonFileRepository extends DaemonRepository
'root' => $root ?? '/',
'file' => $file,
],
// Wait for up to 15 minutes for the decompress to be completed when calling this endpoint
// since it will likely take quite awhile for large directories.
'timeout' => 60 * 15,
]
);
} catch (TransferException $exception) {