From 85faafcaf233855042aead1cc522375fa7955d7e Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 29 Sep 2015 21:16:41 +0900 Subject: [PATCH] Fix bug that progress summary is not shown timely --- src/ConsoleStatCalc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ConsoleStatCalc.cc b/src/ConsoleStatCalc.cc index a633469e7..0dd4366e9 100644 --- a/src/ConsoleStatCalc.cc +++ b/src/ConsoleStatCalc.cc @@ -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);