Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type Settings = (Int, NominalDiffTime, Settings) Source #
Settings of the connection pool. Consist of:
- Pool-size.
- Timeout. An amount of time for which an unused resource is kept open. The smallest acceptable value is 0.5 seconds.
- Connection settings.
acquire :: Settings -> IO Pool Source #
Given the pool-size, timeout and connection settings create a connection-pool.
data UsageError Source #
A union over the connection establishment error and the session error.