Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
fixed typo
  • Loading branch information
ben-page committed Nov 11, 2014
1 parent 56d462f commit 63239f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ When the connection is released it is returned to the pool and is available to b
* `max` {Number} The maximum number of connections there can be in the pool. Default = `50`
* `idleTimeout` {Number} The number of milliseconds before closing an unused connection. Default = `300000`
* `retryDelay` {Number} The number of milliseconds to wait after a connection fails, before trying again. Default = `5000`
* `aquireTimeout` {Number} The number of milliseconds to wait for a connection, before returning an error. Default = `60000`
* `acquireTimeout` {Number} The number of milliseconds to wait for a connection, before returning an error. Default = `60000`
* `log` {Boolean|Function} Set to true to have debug log written to the console or pass a function to receive the log messages. Default = `undefined`

* `connectionConfig` {Object} The same configuration that would be used to [create a
Expand Down Expand Up @@ -101,4 +101,4 @@ Release the connect back to the pool to be used again
## Version 0.2.x Breaking Changes
* To acquire a connection, call on `acquire()` on a `ConnectionPool` rather than `requestConnection()`.
* After acquiring a `PooledConnection`, do not wait for the `'connected'` event. The connection is received connected.
* Call `release()` on a `PooledConnection` to release the it back to the pool. `close()` permenantly closes the connection (as `close()` behaves in in tedious).
* Call `release()` on a `PooledConnection` to release the it back to the pool. `close()` permenantly closes the connection (as `close()` behaves in in tedious).

0 comments on commit 63239f9

Please sign in to comment.