implement pausing of transfers
A paused transfer's thread keeps running, keeping the slot in use. This is intentional; pausing a transfer should not let other queued transfers to run in its place.
This commit is contained in:
parent
21bd92f077
commit
8ba9830653
5 changed files with 62 additions and 26 deletions
|
@ -56,6 +56,7 @@ stubInfo f r = TransferInfo
|
|||
, transferRemote = Just r
|
||||
, bytesComplete = Nothing
|
||||
, associatedFile = f
|
||||
, transferPaused = False
|
||||
}
|
||||
|
||||
{- Adds transfers to queue for some of the known remotes. -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue