Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed Apr 18, 2014
1 parent 54a8899 commit 776b97b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/overview.edoc
Original file line number Diff line number Diff line change
Expand Up @@ -335,12 +335,12 @@ you to maintain a group of connections.

```
PoolName = mypool,
Options = [{timeout, 150000}, {pool_size, 100}],
{ok, Pid} = hackney_pool:start_pool(PoolName, Options),
Options = [{timeout, 150000}, {max_connections, 100}],
ok = hackney_pool:start_pool(PoolName, Options),
'''

`timeout' is the time we keep the connection alive in the pool,
`pool_size' is the number of connections maintained in the pool. Each
`max_connections' is the number of connections maintained in the pool. Each
connection in a pool is monitored and closed connections are removed
automatically.

Expand Down

0 comments on commit 776b97b

Please sign in to comment.