mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 08:52:39 +01:00
Explicitly draw progress bar when resuming file uploads in arc upload
Summary: Ref T7149. Make sure we sit at "Resuming: 60%" or whatever while uploading the first chunk. Test Plan: Ran `arc upload` on a large file, cancelled it, resumed it, got sensible progress bar. Reviewers: chad, btrahan Reviewed By: chad, btrahan Subscribers: epriestley Maniphest Tasks: T7149 Differential Revision: https://secure.phabricator.com/D12082
This commit is contained in:
parent
856cbed527
commit
b961869eda
1 changed files with 2 additions and 0 deletions
|
@ -190,6 +190,8 @@ EOTEXT
|
|||
$progress->update(1);
|
||||
}
|
||||
|
||||
$progress->draw();
|
||||
|
||||
// TODO: We could do these in parallel to improve upload performance.
|
||||
foreach ($remaining as $chunk) {
|
||||
$offset = $chunk['byteStart'];
|
||||
|
|
Loading…
Reference in a new issue