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.