I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit cb488ebf authored by zzz's avatar zzz
Browse files

merge of 'cb50ec528ada3d7afd3bf8353d474599872fe931'

     and 'd64f30fdfc808f4fa609db468a497e8fc005f116'
parents 7931451a 59449cf5
No related branches found
No related tags found
No related merge requests found
...@@ -100,8 +100,10 @@ class FloodOnlySearchJob extends FloodSearchJob { ...@@ -100,8 +100,10 @@ class FloodOnlySearchJob extends FloodSearchJob {
if (floodfillPeers.size() <= 3) if (floodfillPeers.size() <= 3)
_shouldProcessDSRM = true; _shouldProcessDSRM = true;
if (floodfillPeers.size() <= 0) { if (floodfillPeers.size() <= 0) {
if (_log.shouldLog(Log.ERROR)) // ask anybody, they may not return the answer but they will return a few ff peers we can go look up,
_log.error("Running netDb searches against the floodfill peers, but we don't know any"); // so this situation should be temporary
if (_log.shouldLog(Log.WARN))
_log.warn("Running netDb searches against the floodfill peers, but we don't know any");
floodfillPeers = new ArrayList(_facade.getAllRouters()); floodfillPeers = new ArrayList(_facade.getAllRouters());
if (floodfillPeers.size() <= 0) { if (floodfillPeers.size() <= 0) {
if (_log.shouldLog(Log.ERROR)) if (_log.shouldLog(Log.ERROR))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment