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

delete (failure) tasks when restart #152

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

delete (failure) tasks when restart #152

wants to merge 1 commit into from

Conversation

PPeanutButter
Copy link

@PPeanutButter PPeanutButter commented Aug 22, 2021

when failure tasks been restarted manually, both will exist in Other Tasks(waitting, success or failure), it will be difficult to make sure whether failure tasks has been restarted especially task failed more than once

this can make sure deletes after new task been created

ARIA2.request("getOption", [gid], function(result) {
    var options = result.result;
    ARIA2.madd_task(uris, options);
    //delete old info(mostly failure), won`t delete file from disk actually.
    ARIA2.remove_result(gid);
});

when  failure tasks been restarted, both will exist in `Other Tasks`, it will be difficult to make sure whether failure tasks has been restarted especially task failed more than once
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

Successfully merging this pull request may close these issues.

1 participant