summaryrefslogtreecommitdiff
path: root/Types
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-07 12:35:42 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-07 12:35:42 -0400
commit00f0c51990dedd39bb8ac89c04eb7f43a88726a5 (patch)
treea696f468f6c15565d44a42beae59bc116cdd7945 /Types
parentfe0a56c1222e64c32a324597797bd319efa75c8a (diff)
avoid queuing transfers that are already queued
I saw this happen in real life, when syncing to a newly added usb drive. I think it got scanned twice, and files were doubled in the queue. This could be optimised a little bit more, to only read from the mvar once, rather than twice.
Diffstat (limited to 'Types')
0 files changed, 0 insertions, 0 deletions