forked from I2P_Developers/i2p.i2p
Console: More failing peers removal
This commit is contained in:
@@ -923,15 +923,6 @@ class SummaryBarRenderer {
|
||||
|
||||
"<tr class=\"separator\"><td colspan=\"2\"><hr></td></tr>" +
|
||||
|
||||
"<tr title=\"")
|
||||
.append(_t("The number of peers failing network tests"))
|
||||
.append("\">" +
|
||||
"<td align=\"left\"><a href=\"/profiles\"><b>")
|
||||
.append(_t("Failing"))
|
||||
.append(":</b></a></td><td align=\"right\">")
|
||||
.append(_helper.getFailingPeers())
|
||||
.append("</td></tr>\n" +
|
||||
|
||||
"<tr title=\"")
|
||||
.append(_t("The number of banned peers"))
|
||||
.append("\">" +
|
||||
|
||||
@@ -459,17 +459,6 @@ public class SummaryHelper extends HelperBase {
|
||||
return _context.peerManager().getPeersByCapability(FloodfillNetworkDatabaseFacade.CAPABILITY_FLOODFILL).size();
|
||||
}
|
||||
|
||||
/**
|
||||
* How many peers the router ranks as failing.
|
||||
* @since 0.9.32 uncommented
|
||||
*/
|
||||
public int getFailingPeers() {
|
||||
if (_context == null)
|
||||
return 0;
|
||||
else
|
||||
return _context.profileOrganizer().countFailingPeers();
|
||||
}
|
||||
|
||||
/**
|
||||
* How many peers are banned.
|
||||
* @since 0.9.32 uncommented
|
||||
|
||||
Reference in New Issue
Block a user