<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/util/token_bucket, branch arti-v1.4.6</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-06-16T19:19:37Z</updated>
<entry>
<title>tor-proto: add `DynamicRateLimitedWriter`</title>
<updated>2025-06-16T19:19:37Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-09T16:38:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=34db37cc624953658b9223f374e44942c46da6bc'/>
<id>urn:sha1:34db37cc624953658b9223f374e44942c46da6bc</id>
<content type='text'>
This is a `Writer` rate limiter which can receive rate limit updates
from a `Stream`.
</content>
</entry>
<entry>
<title>tor-proto: fix bug in `RateLimitedWriter::poll_write`</title>
<updated>2025-06-08T23:25:01Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-08T22:18:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=28be14a2d6113c350dcbf45ff853b2fc6b567e7f'/>
<id>urn:sha1:28be14a2d6113c350dcbf45ff853b2fc6b567e7f</id>
<content type='text'>
Previously it did not behave correctly when `bucket.max()` was 0 (it
would sleep for 0 time instead of infinitely, triggering a debug
assertion).
</content>
</entry>
<entry>
<title>tor-proto: change `wake_when_bytes_available` to `NonZero&lt;u64&gt;`</title>
<updated>2025-06-08T23:24:31Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-08T21:42:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9779de7adbe4aa9cc848e685151a6c5cde0a7bce'/>
<id>urn:sha1:9779de7adbe4aa9cc848e685151a6c5cde0a7bce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: add additional unit test for `TokenBucket::adjust`</title>
<updated>2025-06-08T23:24:20Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-08T21:34:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=147254f64c2dea79e79d16cae1f71d752c5365a8'/>
<id>urn:sha1:147254f64c2dea79e79d16cae1f71d752c5365a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: improve `TokenBucket::adjust`</title>
<updated>2025-06-08T21:35:35Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-08T21:32:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=309ad777aefdff38b7300fbe671810d2e20e8698'/>
<id>urn:sha1:309ad777aefdff38b7300fbe671810d2e20e8698</id>
<content type='text'>
The token bucket is now refilled before changing the rate.
</content>
</entry>
<entry>
<title>tor-proto: rename `TokenBucket::last_refill` to `added_tokens_at`</title>
<updated>2025-06-08T21:35:01Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-08T21:25:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=967af19283489b465bbd2179c2a8a013c278a238'/>
<id>urn:sha1:967af19283489b465bbd2179c2a8a013c278a238</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: return `Result` from `tokens_available_at`</title>
<updated>2025-06-05T15:27:43Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-05T00:51:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=66d06e5b19b53e1aab0d5cf84572f5853528ce3b'/>
<id>urn:sha1:66d06e5b19b53e1aab0d5cf84572f5853528ce3b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: change `RateLimitedWriter` logic to use user-configurable limit</title>
<updated>2025-06-05T15:27:43Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-04T21:23:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=71deeccda0f8f253651516bc480861c48e90eab3'/>
<id>urn:sha1:71deeccda0f8f253651516bc480861c48e90eab3</id>
<content type='text'>
The user now sets a constant amount of bytes to wait for.
</content>
</entry>
<entry>
<title>tor-proto: change `ClaimedTokens::commit_fewer` to `reduce`</title>
<updated>2025-06-05T15:14:50Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-04T20:03:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=350910a6b8118b6ca91191e51aeae09a4a52f476'/>
<id>urn:sha1:350910a6b8118b6ca91191e51aeae09a4a52f476</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: add `{TokenBucket,RateLimitedWriter}Config` types</title>
<updated>2025-06-05T15:14:50Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-04T18:51:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=03c5c523039a03fe2b479fc9e7f2841440eb529b'/>
<id>urn:sha1:03c5c523039a03fe2b479fc9e7f2841440eb529b</id>
<content type='text'>
</content>
</entry>
</feed>
