mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
ab3d22747d
commit
4c0f96342d
|
@ -5,7 +5,7 @@ import Data.String
|
|||
|
||||
-- defChunkSize :: Integer
|
||||
defChunkSize :: Integral a => a
|
||||
defChunkSize = 1024
|
||||
defChunkSize = 500
|
||||
|
||||
defBlockSize :: Integer
|
||||
defBlockSize = 256 * 1024
|
||||
|
|
|
@ -159,8 +159,8 @@ runTestPeer p zu = do
|
|||
stor <- simpleStorageInit opts
|
||||
cww <- newChunkWriterIO stor (Just chDir)
|
||||
|
||||
sw <- liftIO $ replicateM 32 $ async $ simpleStorageWorker stor
|
||||
cw <- liftIO $ replicateM 8 $ async $ runChunkWriter cww
|
||||
sw <- liftIO $ replicateM 8 $ async $ simpleStorageWorker stor
|
||||
cw <- liftIO $ replicateM 16 $ async $ runChunkWriter cww
|
||||
|
||||
zu stor cww
|
||||
|
||||
|
|
Loading…
Reference in New Issue