Increase default cost for p2p remotes from 200 to 1000. This makes git-annex prefer transferring data from special remotes when possible.
This commit is contained in:
parent
5d39fe6589
commit
f275caf732
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
git-annex (6.20170102) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Increase default cost for p2p remotes from 200 to 1000.
|
||||||
|
This makes git-annex prefer transferring data from special
|
||||||
|
remotes when possible.
|
||||||
|
|
||||||
|
-- Joey Hess <id@joeyh.name> Fri, 06 Jan 2017 15:22:06 -0400
|
||||||
|
|
||||||
git-annex (6.20170101) unstable; urgency=medium
|
git-annex (6.20170101) unstable; urgency=medium
|
||||||
|
|
||||||
* XMPP support has been removed from the assistant in this release.
|
* XMPP support has been removed from the assistant in this release.
|
||||||
|
|
|
@ -45,7 +45,7 @@ remote = RemoteType {
|
||||||
chainGen :: P2PAddress -> Git.Repo -> UUID -> RemoteConfig -> RemoteGitConfig -> Annex (Maybe Remote)
|
chainGen :: P2PAddress -> Git.Repo -> UUID -> RemoteConfig -> RemoteGitConfig -> Annex (Maybe Remote)
|
||||||
chainGen addr r u c gc = do
|
chainGen addr r u c gc = do
|
||||||
connpool <- mkConnectionPool
|
connpool <- mkConnectionPool
|
||||||
cst <- remoteCost gc expensiveRemoteCost
|
cst <- remoteCost gc veryExpensiveRemoteCost
|
||||||
let this = Remote
|
let this = Remote
|
||||||
{ uuid = u
|
{ uuid = u
|
||||||
, cost = cst
|
, cost = cst
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue