on master help sign in
Add some wording tweaks from @kazu-yamamoto
commit688ddb44a1b2bcd8550f4a2fbff3e826324a4ef9 authorMichael Snoyman <michael@snoyman.com> dateMon 4 May 2015, 16:38 (11 years ago) parentde64974
1 file changed+4−2
warp/Network/Wai/Handler/Warp.hs+4−2
warp/Network/Wai/Handler/Warp.hs+4−2
@@ -189,8 +189,10 @@ setManager x y = y { settingsManager = Just x }
189189-- The FD cache is an optimization that is useful for servers dealing with
190190-- static files. However, if files are being modified, it can cause incorrect
191191-- results in some cases. Therefore, we disable it by default. If you know that
192−-- your files will be static, it's recommended to turn this on; a reasonable
193−-- value for those cases is 10.
192+-- your files will be static or you prefer performance to file consistency,
193+-- it's recommended to turn this on; a reasonable value for those cases is 10.
194+-- Enabling this cache results in drastic performance improvement for file
195+-- transfers.
194196--
195197-- Default value: since 3.0.13, default value is 0, was previously 10
196198setFdCacheDuration :: Int -> Settings -> Settings