eatYour commited on
Commit
59f9932
·
verified ·
1 Parent(s): 79d5c29

Upload aria2.conf

Browse files
Files changed (1) hide show
  1. aria2.conf +49 -4
aria2.conf CHANGED
@@ -1,4 +1,49 @@
1
- # 启用 RPC 服务
2
- enable-rpc=true
3
- # RPC监听端口
4
- rpc-listen-port=6800
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 启用 RPC 服务
2
+ enable-rpc=true
3
+ # RPC监听端口
4
+ rpc-listen-port=6800
5
+ # 允许所有来源的 RPC 请求
6
+ rpc-allow-origin-all=true
7
+ # 最大并发下载数
8
+ max-concurrent-downloads=10
9
+ # 每个服务器的最大连接数
10
+ max-connection-per-server=15
11
+ # 每个下载任务的分片数
12
+ split=64
13
+ # 每个分片的最小大小
14
+ min-split-size=1M
15
+ # 最大重试次数
16
+ max-tries=5
17
+ # 重试等待时间(秒)
18
+ retry-wait=3
19
+ # 连接超时时间(秒)
20
+ connect-timeout=10
21
+ # 超时时间(秒)
22
+ timeout=10
23
+ # 继续下载
24
+ continue=true
25
+ # 以守护进程模式运行
26
+ daemon=true
27
+ # 文件分配策略
28
+ file-allocation=none
29
+ # 磁盘缓存大小
30
+ disk-cache=512M
31
+ # 下载限速(0表示不限制)
32
+ max-overall-download-limit=0
33
+ max-download-limit=0
34
+ # 上传限速(0表示不限制)
35
+ max-overall-upload-limit=0
36
+ max-upload-limit=0
37
+ # 流片选择器
38
+ stream-piece-selector=geom
39
+ # 优化并发下载
40
+ optimize-concurrent-downloads=true
41
+ # 启用 gzip 压缩
42
+ http-accept-gzip=true
43
+ # 其他可选优化
44
+ # 设置日志级别(可选)
45
+ log-level=notice
46
+ # 启用日志记录(可选)
47
+ log-file=/app/aria2.log
48
+ # 启用断点续传(可选)
49
+ enable-http-pipelining=true