From bd88250ba5500ae583a613ff2e81c801956682a9 Mon Sep 17 00:00:00 2001 From: chentianming Date: Wed, 6 Jan 2021 18:21:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=96=87=E6=A1=A3=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E6=B1=A0=E9=85=8D=E7=BD=AE=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 16 ++++++++-------- README_EN.md | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 8b6682e..c97125f 100644 --- a/README.md +++ b/README.md @@ -342,14 +342,14 @@ public interface HttpApi { ```yaml retrofit: - # 连接池配置 - pool: - test1: - max-idle-connections: 3 - keep-alive-second: 100 - test2: - max-idle-connections: 5 - keep-alive-second: 50 + # 连接池配置 + pool: + # test1连接池配置 + test1: + # 最大空闲连接数 + max-idle-connections: 3 + # 连接保活时间(秒) + keep-alive-second: 100 ``` 2. 通过`@RetrofitClient`的`poolName`属性来指定使用的连接池。 diff --git a/README_EN.md b/README_EN.md index c1e5881..57a3122 100644 --- a/README_EN.md +++ b/README_EN.md @@ -334,14 +334,14 @@ By default, all HTTP requests sent through `Retrofit` will use the default conne ```yaml retrofit: - # Connection pool configuration - pool: - test1: - max-idle-connections: 3 - keep-alive-second: 100 - test2: - max-idle-connections: 5 - keep-alive-second: 50 + # 连接池配置 + pool: + # test1连接池配置 + test1: + # 最大空闲连接数 + max-idle-connections: 3 + # 连接保活时间(秒) + keep-alive-second: 100 ``` 2. Use the `poolName` property of `@Retrofitclient` to specify the connection pool to be used.