diff options
author | Joey Hess <joey@kitenet.net> | 2013-03-13 13:36:02 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-03-13 13:36:02 -0400 |
commit | 27869d94dfb18784bbd53c4191c2000ee37ff30c (patch) | |
tree | 1b332d13325b329fedc100986011a1e00d5dbae3 /doc/bugs | |
parent | 3dde2f75fa5bcaf8a92665bd20936837fe02a931 (diff) |
assistant: Be smarter about avoiding unncessary transfers.
Just before starting a transfer, do one last check that it's still
preferred content.
I was just doing this for uploads, as part of the smarter flood filling
bug, but realized it's also possible for a download that was preferred
content to change to not be before the download begins, so check that too.
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/smarter_flood_filling.mdwn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/bugs/smarter_flood_filling.mdwn b/doc/bugs/smarter_flood_filling.mdwn index cfff3698f..a2a4f2ce5 100644 --- a/doc/bugs/smarter_flood_filling.mdwn +++ b/doc/bugs/smarter_flood_filling.mdwn @@ -12,7 +12,9 @@ this. 1. Ensure that locally paired computers have a lower cost than network transfer remotes. 2. When queuing uploads, queue transfers to the lowest cost remotes first. + (already done) 3. Just before starting a transfer, re-check if the transfer is still wanted. + (done) Now, unnecessary transfers to tranfer repos are avoided if it can send the file locally instead. |