JCS-pub/common/assets/confs/client.config.json

66 lines
1.4 KiB
JSON

{
"local": {
"userID": 1,
"localIP": "127.0.0.1",
"externalIP": "127.0.0.1",
"locationID": 1
},
"hubGRPC": {
"port": 5010
},
"logger": {
"output": "stdout",
"level": "debug"
},
"db": {
"address": "127.0.0.1:3306",
"account": "root",
"password": "123456",
"databaseName": "cloudream"
},
"rabbitMQ": {
"address": "127.0.0.1:5672",
"account": "cloudream",
"password": "123456",
"vhost": "/",
"param": {
"retryNum": 5,
"retryInterval": 5000
}
},
"connectivity": {
"testInterval": 300
},
"downloader": {
"maxStripCacheCount": 100,
"ecStripPrefetchCount": 1
},
"downloadStrategy": {
"highLatencyHub": 35
},
"tickTock": {
"ecFileSizeThreshold": 5242880,
"accessStatHistoryWeight": 0.8
},
"http": {
"enabled": true,
"listen": "127.0.0.1:7890",
"userSpaceID": 0,
"authAccessKey": "",
"authSecretKey": "",
"maxBodySize": 5242880
},
"mount": {
"enabled": false,
"mountPoint": "",
"gid": 0,
"uid": 0,
"dataDir": "",
"metaDir": "",
"attrTimeout": "10s",
"uploadPendingTime": "30s",
"cacheActiveTime": "1m",
"cacheExpireTime": "1m",
"scanDataDirInterval": "10m"
}
}