disentangle concurrency and message type
This makes -Jn work with --json and --quiet, where before setting -Jn disabled those options. Concurrent json output is currently a mess though since threads output chunks over top of one-another.
This commit is contained in:
parent
8e9267a1ed
commit
8ef494a833
12 changed files with 96 additions and 84 deletions
8
Types/Concurrency.hs
Normal file
8
Types/Concurrency.hs
Normal file
|
@ -0,0 +1,8 @@
|
|||
{- Copyright 2016 Joey Hess <id@joeyh.name>
|
||||
-
|
||||
- Licensed under the GNU GPL version 3 or higher.
|
||||
-}
|
||||
|
||||
module Types.Concurrency where
|
||||
|
||||
data Concurrency = NonConcurrent | Concurrent Int
|
Loading…
Add table
Add a link
Reference in a new issue