Skip to content

Commit

Permalink
Explicitly state max_connections and timeout defaults in docs (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbinlondon authored Oct 10, 2023
1 parent 992cc36 commit 870b6ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 870b6ad

Please sign in to comment.