run resumed transfers immediately, do not wait for free transfer slot
The resumed transfer still uses a slot, so will delay other, queued transfers from starting.
This commit is contained in:
parent
b6b8f6da9c
commit
a73e271d60
3 changed files with 20 additions and 10 deletions
|
@ -209,7 +209,8 @@ startTransfer t = do
|
|||
- forget that old pid, and start a new one. -}
|
||||
liftIO $ updateTransferInfo dstatus t $ info
|
||||
{ transferPid = Nothing }
|
||||
liftIO $ Transferrer.transferThread dstatus slots t info
|
||||
liftIO $ Transferrer.transferThread
|
||||
dstatus slots t info inImmediateTransferSlot
|
||||
|
||||
getCurrentTransfers :: Handler TransferMap
|
||||
getCurrentTransfers = currentTransfers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue