@@ -48,6 +48,7 @@ data Settings = Settings
4848 , settingsTimeout :: Int -- ^ Timeout value in seconds. Default value: 30
4949 , settingsManager :: Maybe Manager -- ^ Use an existing timeout manager instead of spawning a new one. If used, 'settingsTimeout' is ignored. Default is 'Nothing'
5050 , settingsFdCacheDuration :: Int -- ^ Cache duration time of file descriptors in seconds. 0 means that the cache mechanism is not used. Default value: 0
51+ , settingsFileInfoCacheDuration :: Int -- ^ Cache duration time of file information in seconds. 0 means that the cache mechanism is not used. Default value: 0
5152 , settingsBeforeMainLoop :: IO ()
5253 -- ^ Code to run after the listening socket is ready but before entering
5354 -- the main event loop. Useful for signaling to tests that they can start
@@ -119,6 +120,7 @@ defaultSettings = Settings
119120 , settingsTimeout = 30
120121 , settingsManager = Nothing
121122 , settingsFdCacheDuration = 0
123+ , settingsFileInfoCacheDuration = 0
122124 , settingsBeforeMainLoop = return ()
123125 , settingsFork = void . forkIOWithUnmask
124126 , settingsNoParsePath = False