[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torspec/master] prop328: Rate-limit counter should increase once per minute.
commit cccf29c7af52beececb5828f79098c7800f5412f
Author: George Kadianakis <desnacked@xxxxxxxxxx>
Date: Wed Mar 10 14:41:40 2021 +0200
prop328: Rate-limit counter should increase once per minute.
---
proposals/328-relay-overload-report.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/proposals/328-relay-overload-report.md b/proposals/328-relay-overload-report.md
index f5d3193..df55f02 100644
--- a/proposals/328-relay-overload-report.md
+++ b/proposals/328-relay-overload-report.md
@@ -76,7 +76,7 @@ and write, in the past 24 hours starting at the provided timestamp rounded down
to the hour.
```
-"overload-ratelimits" SP YYYY-MM-DD SP HH:MM:SS
+"overload-ratelimits" SP version SP YYYY-MM-DD SP HH:MM:SS
SP rate-limit SP burst-limit
SP read-overload-count SP write-overload-count NL
[At most once.]
@@ -87,7 +87,9 @@ and BandwidthBurst found in the torrc configuration file.
The "{read|write}-overload-count" are the counts of how many times the reported
limits of burst/rate were exhausted and thus the maximum between the read and
-write count occurances.
+write count occurances. To make the counter more meaningful and to avoid
+multiple connections saturating the counter when a relay is overloaded, we only
+increment it once a minute.
The 'version' field is set to '1' for the initial implementation of this
proposal.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits