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

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

i2psnark: Delay bandwidth limits check briefly

to avoid intermittent "Unable to connect to I2P" message at startup.
parent 9fc2426e
No related branches found
No related tags found
No related merge requests found
Pipeline #1335 failed
...@@ -2574,6 +2574,9 @@ public class SnarkManager implements CompleteListener, ClientApp, DisconnectList ...@@ -2574,6 +2574,9 @@ public class SnarkManager implements CompleteListener, ClientApp, DisconnectList
try { Thread.sleep(delay); } catch (InterruptedException ie) {} try { Thread.sleep(delay); } catch (InterruptedException ie) {}
// Remove that first message // Remove that first message
_messages.clearThrough(id); _messages.clearThrough(id);
} else if (_context.isRouterContext()) {
// to wait for client manager to be up so we can get bandwidth limits
try { Thread.sleep(3000); } catch (InterruptedException ie) {}
} }
// here because we need to delay until I2CP is up // here because we need to delay until I2CP is up
......
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