Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26acfb70 authored by Felipe Leme's avatar Felipe Leme Committed by android-build-merger
Browse files

Increased estimated max progress of bugreports.

am: faf67e3f

* commit 'faf67e3f':
  Increased estimated max progress of bugreports.
parents 63235025 faf67e3f
Loading
Loading
Loading
Loading
+3 −4
Original line number Original line Diff line number Diff line
@@ -65,11 +65,10 @@ typedef void (for_each_tid_func)(int, int, const char *);
 *
 *
 * It does not need to match the exact sum of all sections, but ideally it should to be slight more
 * It does not need to match the exact sum of all sections, but ideally it should to be slight more
 * than such sum: a value too high will cause the bugreport to finish before the user expected (for
 * than such sum: a value too high will cause the bugreport to finish before the user expected (for
 * example, jumping from 70% to 100%), while a value too low will cause the progress to fluctuate
 * example, jumping from 70% to 100%), while a value too low will cause the progress to get stuck
 * down (for example, from 70% to 50%, since the actual max will be automatically increased every
 * at an almost-finished value (like 99%) for a while.
 * time it is reached).
 */
 */
static const int WEIGHT_TOTAL = 4000;
static const int WEIGHT_TOTAL = 6500;


/* Most simple commands have 10 as timeout, so 5 is a good estimate */
/* Most simple commands have 10 as timeout, so 5 is a good estimate */
static const int WEIGHT_FILE = 5;
static const int WEIGHT_FILE = 5;