From 27869d94dfb18784bbd53c4191c2000ee37ff30c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 13 Mar 2013 13:36:02 -0400 Subject: 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. --- doc/bugs/smarter_flood_filling.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/bugs') 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. -- cgit v1.2.3