change startup no-ff errror to warn
This commit is contained in:
@ -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))
|
||||||
|
Reference in New Issue
Block a user