Skip to content

Commit ef2316b

Browse files
committed
update:configure file
1 parent 14ce2eb commit ef2316b

File tree

1 file changed

+84
-76
lines changed

1 file changed

+84
-76
lines changed
Lines changed: 84 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,94 @@
11
{
2-
"tszIPAddr": "192.168.1.9",
3-
"bDeamon": 0,
4-
"nCenterPort": 5100,
5-
"nStorageDLPort": 5101,
6-
"nStorageUPPort": 5102,
7-
"nP2XPPort": 5103,
8-
"XMax": {
9-
"MaxClient": 10000,
10-
"MaxQueue": 10000,
11-
"IOThread": 2,
12-
"CenterThread": 2,
13-
"nStorageUPThread": 2,
14-
"nStorageDLThread": 2,
15-
"nP2XPThread": 2
2+
"tszIPAddr":"192.168.1.9",
3+
"bDeamon":0,
4+
"nCenterPort":5100,
5+
"nStorageDLPort":5101,
6+
"nStorageUPPort":5102,
7+
"nP2XPPort":5103,
8+
"XMax":{
9+
"MaxClient":10000,
10+
"MaxQueue":10000,
11+
"IOThread":2,
12+
"CenterThread":2,
13+
"nStorageUPThread":2,
14+
"nStorageDLThread":2,
15+
"nP2XPThread":2
1616
},
17-
"XTime": {
18-
"bHBTime": 0,
19-
"nDBMonth": 3,
20-
"nTimeCheck": 3,
21-
"nCenterTimeOut": 5,
22-
"nStorageTimeOut": 5,
23-
"nP2XPTimeOut": 5
17+
"XTime":{
18+
"bHBTime":0,
19+
"nDBMonth":3,
20+
"nTimeCheck":3,
21+
"nCenterTimeOut":5,
22+
"nStorageTimeOut":5,
23+
"nP2XPTimeOut":5
2424
},
25-
"XLog": {
26-
"MaxSize": 1024000,
27-
"MaxCount": 10,
28-
"LogLeave": 32
25+
"XLog":{
26+
"MaxSize":1024000,
27+
"MaxCount":10,
28+
"LogLeave":32
2929
},
30-
"XSql": {
31-
"SQLType": 0,
32-
"SQLFile": "./XEngine_SQL/SQLFile.db",
33-
"SQLAddr": "192.168.1.9",
34-
"SQLPort": 3306,
35-
"SQLUser": "root",
36-
"SQLPass": "123123Ruiyue"
30+
"XSql":{
31+
"SQLType":0,
32+
"SQLFile":"./XEngine_SQL/SQLFile.db",
33+
"SQLAddr":"127.0.0.1",
34+
"SQLPort":3306,
35+
"SQLUser":"ruiyue",
36+
"SQLPass":"123123Ruiyue"
3737
},
38-
"XStorage": {
39-
"bResumable": 1,
40-
"nHashMode": 2,
41-
"bRename": 0,
42-
"tszFileDir": "/home/ubuntu/桌面/XEngine_Storage/XEngine_Source/Debug/XEngine_File"
38+
"XStorage":{
39+
"bResumable":1,
40+
"nHashMode":2,
41+
"tszFileDir":"/home/ubuntu/桌面/XEngine_Storage/XEngine_Source/Debug/XEngine_File"
4342
},
44-
"XProxy": {
45-
"XProxyAuth": {
46-
"bAuth": 0,
47-
"tszUserList": "./XEngine_Config/UserList.txt",
48-
"tszAuthProxy": ""
49-
},
50-
"XProxyPass": {
51-
"bUPGet": 0,
52-
"bDLGet": 0,
53-
"tszUPPass": "http://192.168.1.7:5200/Api/Pass/UPFile",
54-
"tszDLPass": "http://192.168.1.7:5200/Api/Pass/UPFile"
55-
}
43+
"XProxy":{
44+
"XProxyAuth":{
45+
"bAuth":0,
46+
"tszUserList":"./XEngine_Config/UserList.txt",
47+
"tszAuthProxy":""
48+
},
49+
"XProxyPass":{
50+
"bUPGet":0,
51+
"bDLGet":0,
52+
"tszUPPass":"http://192.168.1.7:5200/Api/Pass/UPFile",
53+
"tszDLPass":"http://192.168.1.7:5200/Api/Pass/UPFile"
54+
}
5655
},
57-
"XLimit": {
58-
"nDLTry": 10,
59-
"nMaxUPLoad": 4096000,
60-
"nMaxDNLoad": 4096000
56+
"XLimit":{
57+
"nDLTry":10,
58+
"nMaxUPLoad":4096000,
59+
"nMaxDNLoad":4096000
6160
},
62-
"XP2xp": {
63-
"nMode": 2,
64-
"nTime": 2,
65-
"nSDPort": 15000,
66-
"nRVPort": 15001,
67-
"tszQQWryFile": "./XEngine_SQL/qqwry.dat"
61+
"XP2xp":{
62+
"nMode":2,
63+
"nTime":2,
64+
"nSDPort":15000,
65+
"nRVPort":15001,
66+
"tszQQWryFile":"./XEngine_SQL/qqwry.dat"
6867
},
69-
"XVer": {
70-
"StorageVersion": [
71-
"3.0.0.1001 Build20211029",
72-
"2.5.0.1001 Build20210930",
73-
"2.4.0.1001 Build20210918",
74-
"2.3.0.1001 Build20210903",
75-
"2.2.0.1001 Build20210820",
76-
"2.1.0.1001 Build20210805",
77-
"2.0.0.1001 Build20210723",
78-
"1.5.0.1001 Build20210716",
79-
"1.4.0.1001 Build20210702",
80-
"1.3.0.1001 Build20210625",
81-
"1.2.0.1001 Build20210618",
82-
"1.1.0.1001 Build20210611",
83-
"1.0.0.1001 Build20210501"
84-
]
68+
"XCert":{
69+
"bDLEnable":0,
70+
"bUPEnable":0,
71+
"bCHEnable":0,
72+
"nSslType":0,
73+
"tszCertChain":"./XEngine_Cert/1_www.xyry.org_bundle.crt",
74+
"tszCertKey":"./XEngine_Cert/2_www.xyry.org.key"
75+
},
76+
"XVer":{
77+
"StorageVersion":[
78+
"3.1.0.1001 Build20211110",
79+
"3.0.0.1001 Build20211029",
80+
"2.5.0.1001 Build20210930",
81+
"2.4.0.1001 Build20210918",
82+
"2.3.0.1001 Build20210903",
83+
"2.2.0.1001 Build20210820",
84+
"2.1.0.1001 Build20210805",
85+
"2.0.0.1001 Build20210723",
86+
"1.5.0.1001 Build20210716",
87+
"1.4.0.1001 Build20210702",
88+
"1.3.0.1001 Build20210625",
89+
"1.2.0.1001 Build20210618",
90+
"1.1.0.1001 Build20210611",
91+
"1.0.0.1001 Build20210501"
92+
]
8593
}
86-
}
94+
}

0 commit comments

Comments
 (0)