OCT 1. 修正下载时间超时计算
This commit is contained in:
parent
18ff9d155b
commit
8dc41c49cd
|
@ -500,10 +500,12 @@ static void onDlTimeoutCb(uv_timer_t *UNUSED(pufTimer)) {
|
|||
if ((dlTime * 10000 > pItem->pCurlItem->dlSize) && dlTime > 10) {
|
||||
LOG_MOD(error,
|
||||
ZLOG_MOD_NET,
|
||||
"Download Speed less than 10k/s: %s (%uK/%llu(s))\n",
|
||||
"Download Speed less than 10k/s: %s (%uK/%llu(s)), beging at %u now %u\n",
|
||||
pItem->pTaskUuid,
|
||||
pItem->pCurlItem->dlSize / 1000,
|
||||
dlTime);
|
||||
dlTime,
|
||||
curTm,
|
||||
pItem->pCurlItem->createTm);
|
||||
|
||||
cancelDownloadTask(pItem->pCurlItem);
|
||||
if (pItem->pCurlItem->onRspCb) {
|
||||
|
|
Loading…
Reference in New Issue