Loading cmds/dumpstate/dumpstate.h +3 −4 Original line number Original line Diff line number Diff line Loading @@ -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; Loading Loading
cmds/dumpstate/dumpstate.h +3 −4 Original line number Original line Diff line number Diff line Loading @@ -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; Loading