summaryrefslogtreecommitdiff
path: root/crates/tor-log-ratelim/src/logstate.rs
Commit message (Collapse)AuthorAgeFilesLines
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-071-1/+1
| | | | | | | | | | | | | | First, run ``` git grep -l "^edition =" | xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;' ``` Second, manually verify that all Cargo.toml files have changed, and nothing else has changed. Third, run cargo fmt again.
* tor-log-ratelim: test: add logstate testskn0sys2024-08-201-0/+64
| | | | | | This commit adds the display_recovery and display_problem tests. Line coverage is increased from 0 to 96.97 percent.
* Fix a broken doc linkNick Mathewson2023-11-161-1/+1
|
* ratelim: simplify LogState::reset.Nick Mathewson2023-11-161-4/+1
|
* New tor-log-ratelim crateNick Mathewson2023-11-161-0/+133
This crate is meant to provide rate-limited log messages to tell users about problems that can happen too frequently to log individually. This version is based off an earlier design, and off of conversations with @diziet. It still needs tests.