try to drop unused object if it does not need to be transferred anywhere
This commit is contained in:
parent
3518c586cf
commit
964a181026
4 changed files with 22 additions and 13 deletions
|
@ -218,7 +218,7 @@ finishedTransfer t (Just info)
|
|||
| transferDirection t == Download =
|
||||
whenM (liftAnnex $ inAnnex $ transferKey t) $ do
|
||||
dodrops False
|
||||
queueTransfersMatching (/= transferUUID t)
|
||||
void $ queueTransfersMatching (/= transferUUID t)
|
||||
"newly received object"
|
||||
Later (transferKey t) (associatedFile info) Upload
|
||||
| otherwise = dodrops True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue