summaryrefslogtreecommitdiff
path: root/Assistant/TransferQueue.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-18 19:13:56 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-18 19:15:34 -0400
commitcf47bb3f509ae63ad868b66c0b6f2baecb93e4c7 (patch)
tree60bfdab5cf877c4de206146c65e759f82cdf2e85 /Assistant/TransferQueue.hs
parenteea0a3616cd1cbaf033649c11a5c2b650b6b632f (diff)
run file transfers in threads, not processes
This should fix OSX/BSD issues with not noticing transfer information files with kqueue. Now that threads are used, the thread can manage the transfer slot allocation and deallocation by itself; much cleaner.
Diffstat (limited to 'Assistant/TransferQueue.hs')
-rw-r--r--Assistant/TransferQueue.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/Assistant/TransferQueue.hs b/Assistant/TransferQueue.hs
index fb7fa87cd..b0eca96c8 100644
--- a/Assistant/TransferQueue.hs
+++ b/Assistant/TransferQueue.hs
@@ -28,7 +28,6 @@ stubInfo f = TransferInfo
, transferRemote = Nothing
, bytesComplete = Nothing
, associatedFile = f
- , shouldWait = False
}
{- Adds pending transfers to the end of the queue for some of the known