on master help sign in
Loosen deps, support latest stm

This is for #96. Will be released pending a successful CI run.

commit27140a1018666100dbd80773a23859d8f9016513 authorMichael Xavier <michael@michaelxavier.net> dateMon 1 Oct 2018, 09:08 (8 years ago) parentbbde5ba
3 files changed+4−4
katip-elasticsearch/katip-elasticsearch.cabal+1−1 katip/katip.cabal+2−2 katip/src/Katip/Core.hs+1−1
katip-elasticsearch/katip-elasticsearch.cabal+1−1
@@ -39,7 +39,7 @@ library
3939 , bloodhound >= 0.13.0.0 && < 0.17
4040 , uuid >= 1.3.12 && < 1.4
4141 , aeson >=0.6
42− , stm >= 2.4.3 && < 2.5
42+ , stm >= 2.4.3 && < 2.6
4343 , stm-chans >= 3.0.0.2 && < 3.1
4444 , async >= 2.0.1.0 && < 3.0
4545 , enclosed-exceptions >= 1.0.0 && < 1.1
katip/katip.cabal+2−2
@@ -58,13 +58,13 @@ library
5858 , async < 3.0.0.0
5959 , auto-update >= 0.1 && < 0.2
6060 , bytestring >= 0.9 && < 0.11
61− , containers >=0.4 && <0.6
61+ , containers >=0.4 && <0.7
6262 , either >= 4 && < 5.1
6363 , safe-exceptions >= 0.1.0.0
6464 , hostname >=1.0 && <1.1
6565 , old-locale >= 1.0 && < 1.1
6666 , string-conv >= 0.1 && < 0.2
67− , template-haskell >= 2.8 && < 2.14
67+ , template-haskell >= 2.8 && < 2.15
6868 , text >= 0.11 && <1.3
6969 , time >= 1 && < 1.9
7070 , transformers >= 0.3 && < 0.6
katip/src/Katip/Core.hs+1−1
@@ -631,7 +631,7 @@ registerScribe
631631 -> LogEnv
632632 -> IO LogEnv
633633registerScribe nm scribe ScribeSettings {..} le = do
634− queue <- atomically (BQ.newTBQueue _scribeBufferSize)
634+ queue <- atomically (BQ.newTBQueue (fromIntegral _scribeBufferSize))
635635 worker <- spawnScribeWorker scribe queue
636636 let fin = do
637637 atomically (BQ.writeTBQueue queue PoisonPill)