summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorlishu <[email protected]>2019-08-13 14:00:20 +0800
committerlishu <[email protected]>2019-08-13 14:00:20 +0800
commite059cdc8e3472f245a741a26717215011b90ac24 (patch)
treecd446be38cd1e1dff23ebc1912a4baf1a7b69b9a /bin
parent27ad481021f8891701e406eec2da93997247d1aa (diff)
MAAT增加redis版本
Diffstat (limited to 'bin')
-rw-r--r--bin/conf/main.conf13
1 files changed, 8 insertions, 5 deletions
diff --git a/bin/conf/main.conf b/bin/conf/main.conf
index a6bb3ff..f2e1576 100644
--- a/bin/conf/main.conf
+++ b/bin/conf/main.conf
@@ -13,7 +13,10 @@ MediaHashElemNum=1048576
MediaHashExpireTime=240
[MAAT]
+MaatRedisSwitch=1
TableInfo=./conf/table_info.conf
+MaatRedisIP=
+MaatRedisPort=
FullCfgDir=/home/mesasoft/dd/ddrule/full/index/
IncCfgDir=/home/mesasoft/dd/ddrule/inc/index/
EffectInvervalMs=1
@@ -40,10 +43,10 @@ SysinfoFile=./log/dd_sysinfo.log
[TANGO_CACHE]
#Addresses of minio. Format is defined by WiredLB.
-minio_ip_list=192.168.10.180;
+minio_ip_list=10.3.48.5;
minio_listen_port=9000
#For Non-Struct logs, we will use Nginx as a proxy to access each object. Set Nginx's port.
-minio_proxy_port=9100
+#minio_proxy_port=9000
#Maximum number of connections opened by per host.
#max_connection_per_host=1
#Maximum number of requests in a pipeline.
@@ -55,7 +58,7 @@ minio_proxy_port=9100
#Bucket name in minio.
cache_bucket_name=ntcbucket
-cache_bucket_num=32
+#cache_bucket_num=32
#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
cache_upload_losf_size=4194304
@@ -67,7 +70,7 @@ cache_default_ttl_second=36000
cache_object_key_hash_switch=0
#Store way: 0-MINIO; 1-LOSF, META in REDIS, object in minio; 2-META and small object in Redis, large object in minio;
-cache_store_object_way=1
+cache_store_object_way=0
#If $cache_store_object_way is 2 and the size of a object is not bigger than this value, object will be stored in redis.
redis_cache_object_size=512000
#max_redis_session_num=800
@@ -86,4 +89,4 @@ log_fsstat_filepath=./field_stat.log
log_fsstat_interval=10
log_fsstat_trig=1
log_fsstat_dst_ip=127.0.0.1
-log_fsstat_dst_port=8125 \ No newline at end of file
+log_fsstat_dst_port=8125