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

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

Router: Increase rekey probability

parent 56a1184d
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ class LoadRouterInfoJob extends JobImpl { ...@@ -45,7 +45,7 @@ class LoadRouterInfoJob extends JobImpl {
private RouterInfo _us; private RouterInfo _us;
private static final AtomicBoolean _keyLengthChecked = new AtomicBoolean(); private static final AtomicBoolean _keyLengthChecked = new AtomicBoolean();
// 1 chance in this many to rekey if the defaults changed // 1 chance in this many to rekey if the defaults changed
private static final int REKEY_PROBABILITY = 16; private static final int REKEY_PROBABILITY = 8;
public LoadRouterInfoJob(RouterContext ctx) { public LoadRouterInfoJob(RouterContext ctx) {
super(ctx); super(ctx);
......
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