@@ -45,7 +45,7 @@ data Settings = Settings
4545 , settingsOnClose :: SockAddr -> IO () -- ^ What to do when a connection is close. Default: do nothing.
4646 , settingsTimeout :: Int -- ^ Timeout value in seconds. Default value: 30
4747 , settingsManager :: Maybe Manager -- ^ Use an existing timeout manager instead of spawning a new one. If used, 'settingsTimeout' is ignored. Default is 'Nothing'
48− , settingsFdCacheDuration :: Int -- ^ Cache duratoin time of file descriptors in seconds. 0 means that the cache mechanism is not used. Default value: 10
48+ , settingsFdCacheDuration :: Int -- ^ Cache duratoin time of file descriptors in seconds. 0 means that the cache mechanism is not used. Default value: 0
4949 , settingsBeforeMainLoop :: IO ()
5050 -- ^ Code to run after the listening socket is ready but before entering
5151 -- the main event loop. Useful for signaling to tests that they can start
@@ -108,7 +108,7 @@ defaultSettings = Settings
108108 , settingsOnClose = const $ return ()
109109 , settingsTimeout = 30
110110 , settingsManager = Nothing
111− , settingsFdCacheDuration = 10
111+ , settingsFdCacheDuration = 0
112112 , settingsBeforeMainLoop = return ()
113113 , settingsFork = void . forkIOWithUnmask
114114 , settingsNoParsePath = False