从started到connected要四秒多的时间
以下为日志
2019-07-11 16:52:27.055 1673-1673/ V/FileDownloader.DownloadTaskHunter: call start Url[http://xxxxx/download?fname=IMG_20~4.JPG&fdir=100__TSB&folderFlag=0&time=27321], Path[/storage/emulated/0/XXLite/IMG_20~4.JPG] Listener[.taskmanager.TasksManager$1@947b6a2], Tag[ViewHolder{d6544ef position=1 id=-1, oldPos=-1, pLpos:-1}]
2019-07-11 16:52:27.057 1673-1673/ V/FileDownloader.DownloadTaskHunter: the task[531133525] has been into the launch pool.
2019-07-11 16:52:27.057 1673-2386/ D/FileDownloader.FileDownloadMessenger: notify begin [email protected]@8050206
2019-07-11 16:52:27.057 1673-2386/ V/FileDownloader.DownloadTaskHunter: filedownloader:lifecycle:start com.liulishuo.filedownloader.DownloadTaskHunter@763e0c7 by 11
2019-07-11 16:52:27.062 1673-2386/ V/FileDownloader.FileDownloadList: add list in all [email protected]@8050206 11 1
2019-07-11 16:52:27.074 1673-2068/ D/FileDownloader.MessageSnapshotGate: ~~~callback 531133525 old[11] new[1] 1
2019-07-11 16:52:27.074 1673-2068/ D/FileDownloader.FileDownloadMessenger: notify pending [email protected]@8050206
2019-07-11 16:52:27.074 1673-2068/ D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2019-07-11 16:52:27.079 1673-1673/ D/FileDownloader.DownloadTask: setTag ViewHolder{6f068da position=0 id=-1, oldPos=-1, pLpos:-1 no parent}
2019-07-11 16:52:27.085 1673-1673/ D/FileDownloader.DownloadTask: setTag ViewHolder{549bc2c position=1 id=-1, oldPos=-1, pLpos:-1 no parent}
2019-07-11 16:52:27.085 1673-2068/ D/FileDownloader.MessageSnapshotGate: ~~~callback 531133525 old[1] new[6] 1
2019-07-11 16:52:27.085 1673-2068/ D/FileDownloader.FileDownloadMessenger: notify started [email protected]@8050206
2019-07-11 16:52:27.085 1673-2068/ D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2019-07-11 16:52:27.091 1673-1673/ D/FileDownloader.DownloadTask: setTag ViewHolder{624bc8a position=2 id=-1, oldPos=-1, pLpos:-1 no parent}
2019-07-11 16:52:27.095 1673-1673/ D/FileDownloader.DownloadTask: setTag ViewHolder{587e6cf position=3 id=-1, oldPos=-1, pLpos:-1 no parent}
2019-07-11 16:52:27.100 1673-1673/ D/FileDownloader.DownloadTask: setTag ViewHolder{6704765 position=4 id=-1, oldPos=-1, pLpos:-1 no parent}
2019-07-11 16:52:27.114 1673-1673/ D/FileDownloader.DownloadTask: setTag ViewHolder{bb44bde position=5 id=-1, oldPos=-1, pLpos:-1 no parent}
2019-07-11 16:52:27.127 1673-1673/ D/FileDownloader.DownloadTask: setTag ViewHolder{4eec08c position=6 id=-1, oldPos=-1, pLpos:-1 no parent}
2019-07-11 16:52:31.210 1673-2068/ D/FileDownloader.MessageSnapshotGate: ~~~callback 531133525 old[6] new[2] 1
2019-07-11 16:52:31.212 1673-2068/ D/FileDownloader.FileDownloadMessenger: notify connected [email protected]@8050206
2019-07-11 16:52:31.213 1673-2068/ D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2019-07-11 16:52:37.246 1673-2068/ D/FileDownloader.MessageSnapshotGate: ~~~callback 531133525 old[2] new[3] 1
2019-07-11 16:52:37.247 1673-2068/ D/FileDownloader.FileDownloadMessenger: notify progress [email protected]@8050206 1460 2826658
2019-07-11 16:52:37.247 1673-2068/ D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2019-07-11 16:52:37.255 1673-2068/ D/FileDownloader.MessageSnapshotGate: ~~~callback 531133525 old[3] new[3] 1
2019-07-11 16:52:37.256 1673-2068/ D/FileDownloader.FileDownloadMessenger: notify progress [email protected]@8050206 36560 2826658
2019-07-11 16:52:37.256 1673-2068/ D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2019-07-11 16:52:37.280 1673-2068/ D/FileDownloader.MessageSnapshotGate: ~~~callback 531133525 old[3] new[3] 1
2019-07-11 16:52:37.281 1673-2068/ D/FileDownloader.FileDownloadMessenger: notify progress [email protected]@8050206 66936 2826658
总体来说,分块的bug和这个速度慢的问题比较烦人,而且作者貌似没时间维护了,昨天花了一晚上迁移到AriaLyy/Aria了,感兴趣的同学可以去试试。