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

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

give up on a reseed host after 90% errors

parent 733d6db5
No related branches found
No related tags found
No related merge requests found
...@@ -344,6 +344,9 @@ public class Reseeder { ...@@ -344,6 +344,9 @@ public class Reseeder {
} catch (IOException e) { } catch (IOException e) {
errors++; errors++;
} }
// Give up on this one after 10 with only 0 or 1 good
if (errors >= 10 && fetched <= 1)
break;
} }
System.err.println("Reseed got " + fetched + " router infos from " + seedURL + " with " + errors + " errors"); System.err.println("Reseed got " + fetched + " router infos from " + seedURL + " with " + errors + " errors");
......
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