Page MenuHomePhabricator

D14528.id.diff
No OneTemporary

D14528.id.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
Wed, Nov 13, 7:17 AM (6 d, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6712580
Default Alt Text
D14528.id.diff (949 B)

Event Timeline