diff options
| author | liuxueli <[email protected]> | 2019-07-04 09:56:10 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2019-07-04 09:56:10 +0800 |
| commit | f1efb711cfd3f64fc206fe926ca01e98c6fb7693 (patch) | |
| tree | 3da776410c6db295d57f5a592b75341cf4c286ed /ntcconf/t2conf/ntc_cache.conf | |
| parent | 2d4de570b60fbfdac6f4a122351f73a6339e5d0e (diff) | |
增加安装配置文件
Diffstat (limited to 'ntcconf/t2conf/ntc_cache.conf')
| -rw-r--r-- | ntcconf/t2conf/ntc_cache.conf | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ntcconf/t2conf/ntc_cache.conf b/ntcconf/t2conf/ntc_cache.conf new file mode 100644 index 0000000..1f4bebc --- /dev/null +++ b/ntcconf/t2conf/ntc_cache.conf @@ -0,0 +1,26 @@ +[NTC_CACHE] +#MINIO IP地址,目前只支持一个 +MINIO_IP_LIST=10.4.35.41-48; +MINIO_LISTEN_PORT=9000 + +#每个域名最多开启的链接数 +MAX_CONNECTION_PER_HOST=10 + +#bucket的名称 +CACHE_BUCKET_NAME=ntcbucket + +#缓存最大占用的内存空间大小,超出空间时上传失败 +MAX_USED_MEMORY_SIZE_MB=5120 + +#上传时Expires头部的过期时间,单位秒,最小60(1分钟) +CACHE_DEFAULT_TTL_SECOND=3600 + +#是否对对象的名称进行哈希,开启哈希有助于提高上传下载的速率 +CACHE_OBJECT_KEY_HASH_SWITCH=0 + +#WIRED LOAD BALANCER配置 +#WIREDLB_OVERRIDE=0 +#WIREDLB_TOPIC= +#WIREDLB_GROUP= +#WIREDLB_DATACENTER= +WIREDLB_HEALTH_PORT=49000 |
