Commit 87de9051 authored by nanahira's avatar nanahira

put changes in 3.1

parent a295c6e8
...@@ -138,7 +138,8 @@ function createAria2c() { ...@@ -138,7 +138,8 @@ function createAria2c() {
'--min-split-size=1M', '--min-split-size=1M',
'--max-connection-per-server=10', '--max-connection-per-server=10',
'--remove-control-file', '--remove-control-file',
'--allow-overwrite' '--allow-overwrite',
'--max-download-result=40000'
], ],
{ stdio: 'ignore' } { stdio: 'ignore' }
); );
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
import { EventEmitter, Injectable, NgZone } from '@angular/core'; import { EventEmitter, Injectable, NgZone } from '@angular/core';
import Aria2 from 'aria2'; import Aria2 from 'aria2';
const MAX_LIST_NUM = 1000; const MAX_LIST_NUM = 40000;
const ARIA2_INTERVAL = 500; const ARIA2_INTERVAL = 500;
export class DownloadStatus { export class DownloadStatus {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment