Changeset ebad5ad


Ignore:
Timestamp:
Dec 23, 2011 4:52:04 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
d9e4c4d
Parents:
bbcd6243
Message:

tweaks

Location:
router/java/src/net/i2p/router
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/PeerSelectionCriteria.java

    rbbcd6243 rebad5ad  
    1313 * PeerManager
    1414 *
     15 * Only used by PeerTestJob, which may not have a point.
    1516 */
    1617public class PeerSelectionCriteria {
  • router/java/src/net/i2p/router/networkdb/kademlia/KademliaNetworkDatabaseFacade.java

    rbbcd6243 rebad5ad  
    823823            throw new IllegalArgumentException("Invalid store attempt - " + err);
    824824       
    825         if (_log.shouldLog(Log.DEBUG))
    826             _log.debug("RouterInfo " + key.toBase64() + " is stored with "
    827                        + routerInfo.getOptions().size() + " options on "
    828                        + new Date(routerInfo.getPublished()));
     825        //if (_log.shouldLog(Log.DEBUG))
     826        //    _log.debug("RouterInfo " + key.toBase64() + " is stored with "
     827        //               + routerInfo.getOptions().size() + " options on "
     828        //               + new Date(routerInfo.getPublished()));
    829829   
    830830        _context.peerManager().setCapabilities(key, routerInfo.getCapabilities());
  • router/java/src/net/i2p/router/peermanager/PeerTestJob.java

    rbbcd6243 rebad5ad  
    2626 * database store message
    2727 *
     28 * TODO - What's the point? Disable this? See also notes in PeerManager.selectPeers()
    2829 */
    2930public class PeerTestJob extends JobImpl {
     
    6667    }
    6768   
    68     public String getName() { return "Initiate some peer tests"; }
     69    public String getName() { return "Peer test start"; }
     70
    6971    public void runJob() {
    7072        if (!_keepTesting) return;
Note: See TracChangeset for help on using the changeset viewer.