Increase done even if progress_reports is false
This commit is contained in:
parent
ac328a86b9
commit
76642b81f4
@ -447,8 +447,8 @@ class Stats {
|
|||||||
last_op_finish_ = now;
|
last_op_finish_ = now;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FLAGS_progress_reports) {
|
|
||||||
done_++;
|
done_++;
|
||||||
|
if (FLAGS_progress_reports) {
|
||||||
if (done_ >= next_report_) {
|
if (done_ >= next_report_) {
|
||||||
if (next_report_ < 1000) next_report_ += 100;
|
if (next_report_ < 1000) next_report_ += 100;
|
||||||
else if (next_report_ < 5000) next_report_ += 500;
|
else if (next_report_ < 5000) next_report_ += 500;
|
||||||
|
Loading…
Reference in New Issue
Block a user