summaryrefslogtreecommitdiff
path: root/Assistant/TransferQueue.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-08-10 18:42:44 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-08-10 18:42:44 -0400
commit8ba983065324cc850ee25de9a537fb7f29ef4bea (patch)
tree6a1eeaa6f532670b630c22d425d8e4f63d1127d6 /Assistant/TransferQueue.hs
parent21bd92f077c78320bd1ef2637962f53e97af40d1 (diff)
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.
Diffstat (limited to 'Assistant/TransferQueue.hs')
-rw-r--r--Assistant/TransferQueue.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Assistant/TransferQueue.hs b/Assistant/TransferQueue.hs
index 24987bfa6..aa6192527 100644
--- a/Assistant/TransferQueue.hs
+++ b/Assistant/TransferQueue.hs
@@ -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. -}