|
- {
- "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
- }
- },
- "distlock": {
- "etcdAddress": "127.0.0.1:2379",
- "etcdUsername": "",
- "etcdPassword": "",
- "etcdLockLeaseTimeSec": 5,
- "randomReleasingDelayMs": 3000,
- "serviceDescription": "I am a client"
- },
- "connectivity": {
- "testInterval": 300
- },
- "downloader": {
- "maxStripCacheCount": 100,
- "ecStripPrefetchCount": 1
- },
- "downloadStrategy": {
- "highLatencyHub": 35
- },
- "tickTock": {
- "ecFileSizeThreshold": 5242880
- },
- "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"
- }
- }
|