feature:add about connection config

This commit is contained in:
tanyawen
2019-12-28 05:36:49 +08:00
parent 006af0379f
commit 1336b2b07f
4 changed files with 18 additions and 3 deletions

View File

@@ -11,3 +11,13 @@ fastdfs.http_tracker_http_port = 80
fastdfs.tracker_servers = 10.0.11.201:22122,10.0.11.202:22122,10.0.11.203:22122
## Whether to open the connection pool, if not, create a new connection every time
fastdfs.connection_pool.enabled = false
## max_count_per_entry: max connection count per host:port , 0 is not limit
fastdfs.connection_pool.max_count_per_entry = 100
## connections whose the idle time exceeds this time will be closed, unit: second,default value is 60
fastdfs.connection_pool.max_idle_time = 60
## Maximum waiting time when the maximum number of connections is reached, unit: second, default value is 5
fastdfs.connection_pool.max_wait_time = 5