Skip to content

Commit

Permalink
Fix bug that progress summary is not shown timely
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Sep 29, 2015
1 parent f57947d commit 85faafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConsoleStatCalc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ ConsoleStatCalc::calculateStat(const DownloadEngine* e)
if(e->getRequestGroupMan()->countRequestGroup() > 0) {
if((summaryInterval_ > 0_s) &&
lastSummaryNotified_.difference(global::wallclock())+
A2_DELTA_MILLIS >= summaryInterval_*1000) {
A2_DELTA_MILLIS >= summaryInterval_) {
lastSummaryNotified_ = global::wallclock();
printProgressSummary(e->getRequestGroupMan()->getRequestGroups(), cols, e,
sizeFormatter);
Expand Down

0 comments on commit 85faafc

Please sign in to comment.