Page MenuHomePhabricator

D14528.id35246.diff
No OneTemporary

D14528.id35246.diff

diff --git a/src/applications/files/transform/PhabricatorFileImageTransform.php b/src/applications/files/transform/PhabricatorFileImageTransform.php
--- a/src/applications/files/transform/PhabricatorFileImageTransform.php
+++ b/src/applications/files/transform/PhabricatorFileImageTransform.php
@@ -119,9 +119,9 @@
$out = new TempFile();
$future = new ExecFuture('convert %s %Ls %s', $tmp, $argv, $out);
- // Don't spend more than 10 seconds resizing; just fail if it takes longer
+ // Don't spend more than 60 seconds resizing; just fail if it takes longer
// than that.
- $future->setTimeout(10)->resolvex();
+ $future->setTimeout(60)->resolvex();
$data = Filesystem::readFile($out);
@@ -259,7 +259,7 @@
$file = $this->file;
- $max_size = (1024 * 1024 * 4);
+ $max_size = (1024 * 1024 * 16);
$img_size = $file->getByteSize();
if ($img_size > $max_size) {
throw new Exception(

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 12, 6:15 AM (1 w, 10 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6712580
Default Alt Text
D14528.id35246.diff (949 B)

Event Timeline