use worker pool in withLocalP2PConnections
This allows multiple clients to be handled at the same time.
This commit is contained in:
parent
68227154fb
commit
97a2d0e4fb
3 changed files with 61 additions and 58 deletions
|
@ -75,7 +75,7 @@ seek o = getAnnexWorkerPool $ \workerpool -> do
|
|||
liftIO $ putStrLn "test begins"
|
||||
testGet
|
||||
giveup "TEST DONE"
|
||||
withLocalP2PConnections $ \acquireconn -> liftIO $ do
|
||||
withLocalP2PConnections workerpool $ \acquireconn -> liftIO $ do
|
||||
authenv <- getAuthEnv
|
||||
st <- mkP2PHttpServerState acquireconn workerpool $
|
||||
mkGetServerMode authenv o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue