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

Skip to content
Snippets Groups Projects
Verified Commit 2eedfe53 authored by zzz's avatar zzz
Browse files

SSU: Add note about skew threshold

parent a2dde559
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,11 @@ class PacketHandler {
private static final int MAX_QUEUE_SIZE = 192;
private static final int MIN_NUM_HANDLERS = 1; // unless < 32MB
private static final int MAX_NUM_HANDLERS = 1;
/** let packets be up to 30s slow */
/**
* Let packets be up to this much skewed.
* This is the same limit as in InNetMessagePool's MessageValidator.
* There's no use making it any larger, as messages will just be thrown out there.
*/
private static final long GRACE_PERIOD = Router.CLOCK_FUDGE_FACTOR + 30*1000;
private static final long MAX_SKEW = 90*24*60*60*1000L;
......
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