mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 04:08:54 +03:00
To 2 MB/s and 10 files/s.
This commit is contained in:
parent
4fa4a6a5ed
commit
030e3a5d4a
1 changed files with 6 additions and 2 deletions
|
@ -145,8 +145,12 @@ void ProgressInfo::reset()
|
|||
_sizeProgress = Progress();
|
||||
_fileProgress = Progress();
|
||||
_totalSizeOfCompletedJobs = 0;
|
||||
_maxBytesPerSecond = 100000.0;
|
||||
_maxFilesPerSecond = 2.0;
|
||||
|
||||
// Historically, these starting estimates were way lower, but that lead
|
||||
// to gross overestimation of ETA when a good estimate wasn't available.
|
||||
_maxBytesPerSecond = 2000000.0; // 2 MB/s
|
||||
_maxFilesPerSecond = 10.0;
|
||||
|
||||
_updateEstimatesTimer.stop();
|
||||
_lastCompletedItem = SyncFileItem();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue