Changeset 5d3b7c1 for router


Ignore:
Timestamp:
Mar 4, 2019 5:07:45 PM (16 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
f1ed870
Parents:
cd97718
Message:

NetDB: Call fail callback when lookup is negative cached (thx zab)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/networkdb/kademlia/KademliaNetworkDatabaseFacade.java

    rcd97718 r5d3b7c1  
    598598            if (_log.shouldInfo())
    599599                _log.info("Negative cached, not searching dest: " + key);
     600            _context.jobQueue().addJob(onFinishedJob);
    600601        } else {
    601602            search(key, onFinishedJob, onFinishedJob, timeoutMs, true, fromLocalDest);
     
    635636            if (_log.shouldInfo())
    636637                _log.info("Negative cached, not searching RI: " + key);
     638            if (onFailedLookupJob != null)
     639                _context.jobQueue().addJob(onFailedLookupJob);
    637640        } else {
    638641            search(key, onFindJob, onFailedLookupJob, timeoutMs, false);
Note: See TracChangeset for help on using the changeset viewer.