From 1da1dce98131e94b02c51a0d43759be988dbb825 Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Sun, 20 May 2012 18:13:11 +0000
Subject: [PATCH]  * Profiles: reduce same-country bonus

---
 .../java/src/net/i2p/router/peermanager/CapacityCalculator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/router/java/src/net/i2p/router/peermanager/CapacityCalculator.java b/router/java/src/net/i2p/router/peermanager/CapacityCalculator.java
index fcb22de12c..ceb234c466 100644
--- a/router/java/src/net/i2p/router/peermanager/CapacityCalculator.java
+++ b/router/java/src/net/i2p/router/peermanager/CapacityCalculator.java
@@ -22,7 +22,7 @@ class CapacityCalculator {
     // crappy peers start at 1 and the base is 5.
     private static final double BONUS_NEW = 0.85;
     private static final double BONUS_ESTABLISHED = 0.65;
-    private static final double BONUS_SAME_COUNTRY = 0.45;
+    private static final double BONUS_SAME_COUNTRY = 0.25;
     private static final double BONUS_XOR = .25;
     private static final double PENALTY_UNREACHABLE = 2;
     
-- 
GitLab