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

Problem about the number of files that have been downloaded #596

Closed
SmallDryad opened this issue Dec 21, 2021 · 4 comments
Closed

Problem about the number of files that have been downloaded #596

SmallDryad opened this issue Dec 21, 2021 · 4 comments

Comments

@SmallDryad
Copy link

When I downloaded more than 1000 files, I found that the number of files became to 1000 / 1000
I changed the code in main.js :
rpc.subscribe('tellStopped', [0, 10], function(data) { scope.$apply(function() { utils.mergeMap(data[0], scope.stopped, scope.getCtx); }); });
It became to 10/10
But the code is:
rpc.subscribe('tellStopped', [0, 999999], function(data) { scope.$apply(function() { utils.mergeMap(data[0], scope.stopped, scope.getCtx); }); });
It's still 1000 / 1000
how can it show the correct files number

@SmallDryad
Copy link
Author

acitive:2, waiting:1800,stopped:200, total:2002
acitive:2, waiting:1000,stopped:1000, total:2002
acitive:2, waiting:800,stopped:1000, total:1802
acitive:2, waiting:400,stopped:1000, total:1402
acitive:2, waiting:0,stopped:1000, total:1002
acitive:0, waiting:0,stopped:1000, total:1000

@SmallDryad
Copy link
Author

I have modified the code in settings.js:
"max-download-result": { val: 999999, desc: "Set maximum number of download result kept in memory. The download results are completed/error/removed downloads. The download results are stored in FIFO queue and it can store at most NUM download results. When queue is full and new download result is created, oldest download result is removed from the front of the queue and new one is pushed to the back. Setting big number in this option may result high memory consumption after thousands of downloads. Specifying 0 means no download result is kept. Default: 999999" },
BUT it didn't work, so I thought I could change the code of aria2:

@SmallDryad
Copy link
Author

I add a new code into the aria2 start program:
--max-download-result=999999
the max download result number exceeded 1000

@SmallDryad
Copy link
Author

Now can someone tell me if the code in settings.js is just illustrative?If so, I'm afraid I've taken the time to put useful Settings into the launcher I wrote myself

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

1 participant