avoid sending uploads right back to where the download came from
Just an optimisation.
This commit is contained in:
parent
3a0cffcfed
commit
9f05d19108
2 changed files with 13 additions and 4 deletions
|
@ -86,7 +86,9 @@ onDel st dstatus transferqueue file _ = case parseTransferFile file of
|
|||
- spreading them out to other reachable remotes. -}
|
||||
case (minfo, transferDirection t) of
|
||||
(Just info, Download) -> runThreadState st $
|
||||
queueTransfers Later transferqueue dstatus
|
||||
queueTransfersMatching
|
||||
(/= transferUUID t)
|
||||
Later transferqueue dstatus
|
||||
(transferKey t)
|
||||
(associatedFile info)
|
||||
Upload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue