From b313817399ce2e22553be070fc3f39dffc30b7c7 Mon Sep 17 00:00:00 2001 From: zzz <zzz@i2pmail.org> Date: Mon, 2 Jan 2023 15:39:38 -0500 Subject: [PATCH] Update annotation of tunnel reject codes --- .../src/net/i2p/router/peermanager/TunnelHistory.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/router/java/src/net/i2p/router/peermanager/TunnelHistory.java b/router/java/src/net/i2p/router/peermanager/TunnelHistory.java index 8d256c7917..b4ebb74055 100644 --- a/router/java/src/net/i2p/router/peermanager/TunnelHistory.java +++ b/router/java/src/net/i2p/router/peermanager/TunnelHistory.java @@ -30,13 +30,13 @@ public class TunnelHistory { private RateStat _failRate; private final String _statGroup; - /** probabalistic tunnel rejection due to a flood of requests - essentially unused */ + /** probabalistic tunnel rejection due to a flood of requests - infrequent */ public static final int TUNNEL_REJECT_PROBABALISTIC_REJECT = 10; - /** tunnel rejection due to temporary cpu/job/tunnel overload - essentially unused */ + /** tunnel rejection due to temporary cpu/job/tunnel overload - rare */ public static final int TUNNEL_REJECT_TRANSIENT_OVERLOAD = 20; - /** tunnel rejection due to excess bandwidth usage */ + /** tunnel rejection due to excess bandwidth usage - used for most rejections even if not really for bandwidth */ public static final int TUNNEL_REJECT_BANDWIDTH = 30; - /** tunnel rejection due to system failure - essentially unused */ + /** tunnel rejection due to system failure - not currently used */ public static final int TUNNEL_REJECT_CRIT = 50; public TunnelHistory(RouterContext context, String statGroup) { -- GitLab