Skip to content

Commit

Permalink
Update src/Herp/Logger.hs
Browse files Browse the repository at this point in the history
Co-authored-by: ruicc <ruicc.rail@gmail.com>
  • Loading branch information
fumieval and ruicc authored Feb 20, 2023
1 parent 2fe1a24 commit 023f73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Herp/Logger.hs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ mkThreadPool poolMaxResources errHandler = do
atomically (flushTQueue queue) >>= sequence_
cancel thread
let poolCacheTTL = 3600
pool <- newPool $ defaultPoolConfig createResource freeResource poolCacheTTL poolMaxResources
pool <- newPool $ setNumStripes (Just 1) $ defaultPoolConfig createResource freeResource poolCacheTTL poolMaxResources
pure pool

-- NOTE: It *blocks* when there are no threads in idle.
Expand Down

0 comments on commit 023f73b

Please sign in to comment.