配置文件key改小写,英文描述

This commit is contained in:
zhangchengwei
2018-11-22 16:16:23 +08:00
committed by zhengchao
parent 82b5b0d103
commit 313f36c58a

View File

@@ -1,38 +1,40 @@
[TANGO_CACHE]
#MINIO IP地址列表WiredLB格式
MINIO_IP_LIST=192.168.10.61-64;
MINIO_LISTEN_PORT=9000
#每个域名最多开启的链接数
#MAX_CONNECTION_PER_HOST=1
MAX_CNNT_PIPELINE_NUM=20
#MAX_CURL_SESSION_NUM=100
MAX_CURL_TRANSFER_TIMEOUT_S=15
[tango_cache]
#Addresses of minio cluster. Format is defined by WiredLB.
minio_ip_list=192.168.10.61-64;
minio_listen_port=9000
#Maximum number of connections opened by per host.
#max_connection_per_host=1
#Maximum number of requests in a pipeline.
max_cnnt_pipeline_num=20
#max_curl_session_num=100
#Maximum time the request is allowed to take(seconds).
max_curl_transfer_timeout_s=15
#bucket的名称
CACHE_BUCKET_NAME=openbucket
#缓存最大占用的内存空间大小,超出空间时上传失败
MAX_USED_MEMORY_SIZE_MB=5120
#上传时Expires头部的过期时间单位秒最小601分钟
CACHE_DEFAULT_TTL_SECOND=3600
#是否对对象的名称进行哈希,开启哈希有助于提高上传下载的速率
CACHE_OBJECT_KEY_HASH_SWITCH=1
#Bucket name in minio.
cache_bucket_name=openbucket
#Maximum size of memory used by tango_cache_client. Upload will fail if the current size of memory used exceeds this value.
max_used_memory_size_mb=5120
#Default TTL of objects, i.e. the time after which the object will expire(minumun 60s, i.e. 1 minute).
cache_default_ttl_second=600
#Whether to hash the object key before cache actions. GET/PUT will be faster if you open it.
cache_object_key_hash_switch=1
#HEAD元信息的来源1-MINIO2-REDIS
CACHE_HEAD_FROM_SOURCE=2
#使用Redis作为元信息获取源
CACHE_HEAD_REDIS_KEY=MINIO_EVENTS_INFO
#主要的Redis IP地址优先使用
CACHE_HEAD_MAIN_REDIS_IP=192.168.10.63
#只有在主Redis挂掉时从下述列表选择一个连接WiredLB格式。
CACHE_HEAD_REDIS_IPLIST=192.168.10.62-63;
CACHE_HEAD_REDIS_PORT=6379
#Where to HEAD meta information of objects. 1-minio;2-redis.
cache_head_from_source=2
#If cache_head_from_source is 2, fill in the following configs.
cache_head_redis_key=MINIO_EVENTS_INFO
#The IP tango_cache_client will always first use to HEAD meta.
cache_head_main_redis_ip=192.168.10.63
#Only when cache_head_main_redis_ip fails will tango_cache_client chose one IP from the list as backup.
cache_head_redis_iplist=192.168.10.62-63;
cache_head_redis_port=6379
#WIRED LOAD BALANCER配置
#WIREDLB_OVERRIDE=1
#WIREDLB_TOPIC=
#WIREDLB_DATACENTER=
WIREDLB_MINIO_HEALTH_PORT=52100
#WIREDLB_MINIO_GROUP=
WIREDLB_REDIS_HEALTH_PORT=52101
#WIREDLB_REDIS_GROUP=
#Configs for WiredLB.
#wiredlb_override=1
#wiredlb_topic=
#wiredlb_datacenter=
wiredlb_minio_health_port=52100
#wiredlb_minio_group=
wiredlb_redis_health_port=52101
#wiredlb_redis_group=