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
|
@ -45,7 +45,7 @@ remote = RemoteType {
|
|||
chainGen :: P2PAddress -> Git.Repo -> UUID -> RemoteConfig -> RemoteGitConfig -> Annex (Maybe Remote)
|
||||
chainGen addr r u c gc = do
|
||||
connpool <- mkConnectionPool
|
||||
cst <- remoteCost gc expensiveRemoteCost
|
||||
cst <- remoteCost gc veryExpensiveRemoteCost
|
||||
let this = Remote
|
||||
{ uuid = u
|
||||
, cost = cst
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue