aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/memquota.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.
* Merge branch 'mq-toplevel' into 'main'Ian Jackson2024-10-151-14/+15
|\ | | | | | | | | Abolish the toplevel Account See merge request tpo/core/arti!2537
| * memquota: Change ToplevelAccount to be an alias for Arc<MemoryQuotaTracker>Ian Jackson2024-10-151-14/+15
| | | | | | | | Fixes a TODO.
* | memquota: Document the actual behaviour re streams/circuitsIan Jackson2024-10-151-4/+6
|/ | | | As per decision in #1661.
* Merge branch 'mq-circ' into 'main'David Goulet2024-10-101-1/+0
|\ | | | | | | | | | | | | Use memquota queue for channel->circuit RX data Closes #1682 See merge request tpo/core/arti!2518
| * memquota: Use an mq_queue for channel->circuit RX queueIan Jackson2024-10-091-1/+0
| | | | | | | | | | | | Fixes #1682. (This involves some noise in the tests.)
* | Merge branch 'mq-doc' into 'main'Ian Jackson2024-10-091-1/+94
|\| | | | | | | | | | | | | memquota architecture documentation Closes #1660 See merge request tpo/core/arti!2509
| * memquota: Expand on ChannelAccountIan Jackson2024-10-091-0/+1
| | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2509#note_3089914
| * memquota: Add docs and TODOs re inbound channel->circuit dataIan Jackson2024-10-091-0/+2
| | | | | | | | | | See https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2509#note_3089913
| * emquota: Clarify circuit data queueIan Jackson2024-10-091-1/+1
| |
| * memquota: Further docs tweaksIan Jackson2024-10-091-0/+2
| |
| * mq docs: Clarity that chanmgr and circmgr share the ToplevelAccountIan Jackson2024-10-071-1/+3
| |
| * mq docs: Add some formulaic cross-references to memquota newtypesIan Jackson2024-10-071-0/+12
| |
| * mq docs: Rewrite and expand overview/architecture doc in tor-protoIan Jackson2024-10-071-16/+66
| |
| * mq docs: Move arti queues text to tor_proto::memquotaIan Jackson2024-10-071-0/+24
| |
* | tor-proto: memquota: Rationalise macro innardsIan Jackson2024-10-071-11/+13
| | | | | | | | | | No functional change, but use of ${select1 ...} will make it easier to add more approaches.
* | tor-proto: memquota: Fix a docs typoIan Jackson2024-10-071-1/+1
| |
* | tor-proto: memquota: Rename SpecificAccount::Parent to ConstructedFromIan Jackson2024-10-071-11/+13
|/ | | | This was already a bit inaccurate and it's going to become more so.
* Provide newtypes to distinguish memoquota accounts at different levelsIan Jackson2024-10-031-0/+114