Skip to content

Commit

Permalink
Update Types.hs
Browse files Browse the repository at this point in the history
Improved docs for `verbose` parameter of the `Options` type.
This documents the changes from scotty-web#374 here as well.
  • Loading branch information
lambdaTotoro authored Jun 26, 2024
1 parent bb50845 commit 19d4746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web/Scotty/Internal/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import UnliftIO.Exception (Handler(..), catch, catches)


--------------------- Options -----------------------
data Options = Options { verbose :: Int -- ^ 0 = silent, 1(def) = startup banner
data Options = Options { verbose :: Int -- ^ Verbosity level: 0 = silent, 1 (default) = startup text, print unhandled exceptions to stderr
, settings :: W.Settings -- ^ Warp 'Settings'
-- Note: to work around an issue in warp,
-- the default FD cache duration is set to 0
Expand Down

0 comments on commit 19d4746

Please sign in to comment.