This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-tfe/cache/test/pangu_tg_cahce.conf
2018-11-23 21:17:59 +08:00

41 lines
1.5 KiB
Plaintext

[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 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
#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
#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=