1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 21:31:48 +03:00

Redistribute the parens.

This commit is contained in:
Rob Rix 2017-07-21 13:50:13 -04:00
parent 19bf5498f8
commit dcd2e77704

View File

@ -138,7 +138,7 @@ runTask task = do
Decorate algebra term -> pure <$ writeLog (Info "Decorate") <*> pure (decoratorWithAlgebra algebra term)
Diff differ terms -> pure <$ writeLog (Info "Diff") <*> pure (differ terms)
Render renderer input -> pure <$ writeLog (Info "Render") <*> pure (renderer input)
Distribute tasks -> pure <$ writeLog (Info "Distribute") <*> (liftIO (Async.mapConcurrently runTask tasks) >>= pure . withStrategy (parTraversable rseq))
Distribute tasks -> pure <$ writeLog (Info "Distribute") <*> liftIO (Async.mapConcurrently runTask tasks >>= pure . withStrategy (parTraversable rseq))
LiftIO action -> pure action)
task
atomically (closeTMQueue logQueue)