mirror of
https://github.com/typeable/wai.git
synced 2025-01-01 02:38:45 +03:00
wai-logger 2.2
This commit is contained in:
parent
5786f746a1
commit
6bfecea8f4
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user