| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Faktory.Settings
Synopsis
- data Settings = Settings {
- settingsQueue :: Queue
- settingsConnection :: ConnectionInfo
- settingsLogDebug :: String -> IO ()
- settingsLogError :: String -> IO ()
- settingsWorkerIdleDelay :: Int
- data ConnectionInfo = ConnectionInfo {}
- defaultSettings :: Settings
- envSettings :: IO Settings
- newtype Queue = Queue Text
- queueArg :: Queue -> ByteString
- defaultQueue :: Queue
- data WorkerId
- randomWorkerId :: IO WorkerId
Documentation
Constructors
| Settings | |
Fields
| |
data ConnectionInfo Source #
Constructors
| ConnectionInfo | |
Instances
| Eq ConnectionInfo Source # | |
Defined in Faktory.Connection Methods (==) :: ConnectionInfo -> ConnectionInfo -> Bool # (/=) :: ConnectionInfo -> ConnectionInfo -> Bool # | |
| Show ConnectionInfo Source # | |
Defined in Faktory.Connection Methods showsPrec :: Int -> ConnectionInfo -> ShowS # show :: ConnectionInfo -> String # showList :: [ConnectionInfo] -> ShowS # | |
envSettings :: IO Settings Source #
Defaults, but read from the environmentConnection
See envConnection
queueArg :: Queue -> ByteString Source #
defaultQueue :: Queue Source #