Skip to content

Commit 680bce6

Browse files
authored
api(client): fix decompress timeout (pterodactyl#4568)
1 parent 428311e commit 680bce6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/Repositories/Wings/DaemonFileRepository.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@ public function decompressFile(?string $root, string $file): ResponseInterface
231231
'root' => $root ?? '/',
232232
'file' => $file,
233233
],
234+
// Wait for up to 15 minutes for the decompress to be completed when calling this endpoint
235+
// since it will likely take quite awhile for large directories.
236+
'timeout' => 60 * 15,
234237
]
235238
);
236239
} catch (TransferException $exception) {

0 commit comments

Comments
 (0)