From 870b6ad892c44baabb71b9b1e061db45cba29aa8 Mon Sep 17 00:00:00 2001 From: Kate Beard Date: Tue, 10 Oct 2023 01:13:28 +0100 Subject: [PATCH] Explicitly state max_connections and timeout defaults in docs (#688) --- README.md | 2 +- doc/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2f72de08..cf684fd7 100644 --- a/README.md +++ b/README.md @@ -368,7 +368,7 @@ ok = hackney_pool:start_pool(PoolName, Options), `timeout` is the time we keep the connection alive in the pool, `max_connections` is the number of connections maintained in the pool. Each connection in a pool is monitored and closed connections are removed -automatically. +automatically. The default timeout is `150000` ms and the default number of connections is `50`. To close a pool do: diff --git a/doc/README.md b/doc/README.md index 7bb27968..ea894ce1 100644 --- a/doc/README.md +++ b/doc/README.md @@ -368,7 +368,7 @@ ok = hackney_pool:start_pool(PoolName, Options), `timeout` is the time we keep the connection alive in the pool, `max_connections` is the number of connections maintained in the pool. Each connection in a pool is monitored and closed connections are removed -automatically. +automatically. The default timeout is `150000` ms and the default number of connections is `50`. To close a pool do: