summaryrefslogtreecommitdiff
path: root/crates/tor-log-ratelim/src/ratelim.rs
Commit message (Collapse)AuthorAgeFilesLines
* log-ratelim: Port to web-time-compat.Nick Mathewson2026-03-261-1/+1
|
* tor-log-ratelim: don't log "now working" repeatedlySteven Engler2026-01-201-6/+3
|
* tor-log-ratelim: avoid logging when there's no updateSteven Engler2026-01-201-1/+2
| | | | | | Adds a new `AppearsResolved` status to indicate that there have been successes and no failures. The `Dormant` status now means that there has been no activity.
* tor-log-ratelim: ran cargo fmtSteven Engler2026-01-201-16/+17
|
* tor-log-ratelim: change if statement to matchSteven Engler2026-01-201-3/+4
|
* all: run cargo fmtSteven Engler2025-11-041-1/+1
|
* all: replace all uses of `futures::task::SpawnExt` with `tor_rtcompat::SpawnExt`Steven Engler2025-11-041-1/+1
|
* tor-log-ratelim: Replace OnceCell with OnceLockhashcatHitman2025-04-171-3/+2
| | | | | - [`once_cell::sync::OnceCell`] has been replaced by [`std::sync::OnceLock`], resolving a TODO.
* 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