webapp: Set locally paired repositories to a lower cost than other network remotes.

This commit is contained in:
Joey Hess 2013-03-13 14:10:29 -04:00
parent 02facde154
commit 9b657a2ccc
7 changed files with 28 additions and 8 deletions

View file

@ -10,12 +10,14 @@ It occurred to me this morning that there is a simple change that can avoid
this.
1. Ensure that locally paired computers have a lower cost than network
transfer remotes.
transfer remotes. (done)
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)
> [[done]]
Now, unnecessary transfers to tranfer repos are avoided if it can send
the file locally instead.