wai-logger 2.2

This commit is contained in:
Michael Snoyman 2014-08-01 08:36:10 +03:00
parent 5786f746a1
commit 6bfecea8f4
2 changed files with 4 additions and 2 deletions

View File

@ -20,8 +20,10 @@ getDateGetter :: IO () -- ^ flusher
-> IO (IO ByteString)
getDateGetter flusher = do
(getter, updater) <- clockDateCacher
#if !MIN_VERSION_wai_logger(2, 2, 0)
_ <- forkIO $ forever $ do
threadDelay 1000000
updater
flusher
#endif
return getter

View File

@ -1,5 +1,5 @@
Name: wai-extra
Version: 3.0.1.1
Version: 3.0.1.2
Synopsis: Provides some basic WAI handlers and middleware.
Description: The goal here is to provide common features without many dependencies.
License: MIT
@ -34,7 +34,7 @@ Library
, case-insensitive >= 0.2
, data-default-class
, fast-logger >= 2.1 && < 2.3
, wai-logger >= 2.0 && < 2.2
, wai-logger >= 2.0 && < 2.3
, ansi-terminal
, resourcet >= 0.4.6 && < 1.2
, void >= 0.5