Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

任务不执行 #34

Closed
hponiang opened this issue Apr 21, 2019 · 1 comment
Closed

任务不执行 #34

hponiang opened this issue Apr 21, 2019 · 1 comment

Comments

@hponiang
Copy link

hponiang commented Apr 21, 2019

使用最新版本

 [[FKDownloadManager manager] addTasksWithArray:array tag:strtag];  // 全部添加
            [[FKDownloadManager manager] startWithTag:strtag];                 //按标签启动

最后只下载了五六个,看taskhub里其它任务均为等待状态 ,但看fklog输出为

FKDownloadManager.m:258	开始执行 FKTask: <FKTask: 0x6000029a57a0>.<711>.<TaskStatusNone>.<https://ese2a2b9c8d9cb-pub.pubssl.ss.net/22989/42fcc57b3ec347e6b20ad023c28f967e/lgjOnsNjII53qVF8-sd_seg_62_ehls_a2f3bc?schoolId=22989&fileGlobalId=42fcc57b3ec347e6b20ad023c28f967e&userId=1&userName=%E9%A2%86%E5%B8%A6%E5%90%9B1>.<0.0000>
FKDownloadManager.m:265	当前执行数量 3 已超过 3

没有执行的任务均输出了上面的日志,但是后续并没有执行,检查整个日志都 没有执行过startNextIdleTask函数

谢谢

@SYFH
Copy link
Owner

SYFH commented Jun 20, 2019

pod 上的版本可能有问题, 你可以直接使用原始代码试一试有没问题
现在 pod 又更新了一个新版本, 解决了一些问题, 也可以试一试

@SYFH SYFH closed this as completed Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants