summaryrefslogtreecommitdiff
path: root/crates/tor-log-ratelim/src/ratelim.rs
Commit message (Collapse)AuthorAgeFilesLines
* ratelim: switch time list to start very short.Nick Mathewson2023-11-161-4/+20
| | | | | | | Since we batch up even the earliest events, it's important that the first interval be quite short: otherwise, the user might wait minutes between when a problem first occurs and when it is first reported.
* ratelim: Add a note about summary accuracyNick Mathewson2023-11-161-0/+6
|
* ratelim: Add a comment about behavior on reactor shutdownNick Mathewson2023-11-161-0/+5
|
* Ratelim: use now() to see how long we have been dormantNick Mathewson2023-11-161-9/+22
| | | | Also avoid infinite recursion in implementation of RuntimeSupport.
* ratelim: Note that timeouts are in minutes.Nick Mathewson2023-11-161-7/+1
|
* ratelim: refactor to avoid unreachable codeNick Mathewson2023-11-161-39/+15
| | | | Add a note that this uglifies a hidden API slightly.
* ratelim: rename limiter.rs to ratelim.rsNick Mathewson2023-11-161-0/+210