| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Arbiter.Core.PoolConfig
Description
Connection pool configuration.
Synopsis
- data PoolConfig = PoolConfig {
- poolSize :: Int
- poolIdleTimeout :: Int
- poolStripes :: Maybe Int
- defaultPoolConfig :: PoolConfig
Documentation
Source #data PoolConfig
Connection pool configuration.
Constructors
| PoolConfig | |
Fields
| |
Instances
| Eq PoolConfig Source # | |
Defined in Arbiter.Core.PoolConfig | |
| Show PoolConfig Source # | |
Defined in Arbiter.Core.PoolConfig Methods #showsPrec :: Int -> PoolConfig -> ShowS #show :: PoolConfig -> String #showList :: [PoolConfig] -> ShowS | |
Source #defaultPoolConfig :: PoolConfig
10 connections, 300s idle timeout, 1 stripe. For workers, size the pool
with poolConfigForWorkers.