mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01:00
Remove the size limit on arc side
Summary: remove the size check. The conduit call will fail later if the size is too large, and we will get better error message. Test Plan: run arc diff with files smaller and larger than the size limit. Reviewed By: epriestley Reviewers: epriestley CC: aran, epriestley Differential Revision: 729
This commit is contained in:
parent
eb98ab553e
commit
1bb2409d47
1 changed files with 0 additions and 6 deletions
|
@ -819,12 +819,6 @@ EOTEXT
|
|||
$mime_type = trim($mime_type);
|
||||
$result['mime'] = $mime_type;
|
||||
|
||||
// TODO: Make this configurable.
|
||||
$bin_limit = 1024 * 1024; // 1 MB limit
|
||||
if (strlen($data) > $bin_limit) {
|
||||
return $result;
|
||||
}
|
||||
|
||||
$bytes = strlen($data);
|
||||
echo "Uploading {$desc} '{$name}' ({$mime_type}, {$bytes} bytes)...\n";
|
||||
|
||||
|
|
Loading…
Reference in a new issue