<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-circmgr/src/timeouts/pareto.rs, branch arti-v1.5.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-08-13T16:12:28Z</updated>
<entry>
<title>tor-circmgr: Make connection failure log at debug level.</title>
<updated>2025-08-13T16:12:28Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-08-13T16:12:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a1970a6f64cf6393b0763e529c73194aa484a7fb'/>
<id>urn:sha1:a1970a6f64cf6393b0763e529c73194aa484a7fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-circmgr: Add more logging about timeout estimation.</title>
<updated>2025-08-12T15:25:01Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-08-11T23:54:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=51b689af344d3f24375c66a05f8feb1449d86f1c'/>
<id>urn:sha1:51b689af344d3f24375c66a05f8feb1449d86f1c</id>
<content type='text'>
We're seeing the logic that resets the timeouts when 18/20 connections
fail not triggering when we're expecting it to, this logging may help
figure out what's going on there.
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Resolve clippy warnings from 1.83</title>
<updated>2025-05-13T18:53:41Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-05-13T18:53:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b182a9d05902bc5320ab486d055521f18b6b7832'/>
<id>urn:sha1:b182a9d05902bc5320ab486d055521f18b6b7832</id>
<content type='text'>
Now that our MSRV is 1.83, clippy is happy to make more
recommendations for us.
</content>
</entry>
<entry>
<title>tor-circmgr: Explicit type annotation</title>
<updated>2025-03-26T09:51:19Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2025-03-25T14:52:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b5c44d2be580ea73fd71aad01b19dbf4d88d8b72'/>
<id>urn:sha1:b5c44d2be580ea73fd71aad01b19dbf4d88d8b72</id>
<content type='text'>
This commit adds an explicit type annotation to the learning_timeouts()
function, as leaving it out yielded an error while trying to compile
tor-circmgr in a project that had this crate deep down in its supply
chain.
</content>
</entry>
<entry>
<title>circmgr: test behavior of IteratorRandom::choose_multiple</title>
<updated>2025-03-25T12:05:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-24T12:09:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=295deff2a416870b5af9d6cbd3246a991cd10652'/>
<id>urn:sha1:295deff2a416870b5af9d6cbd3246a991cd10652</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'timeout_est_overflow' into 'main'</title>
<updated>2025-03-19T17:52:22Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-19T17:52:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ab18f0ee711834b836f2613e3cdc46ecd5e9f125'/>
<id>urn:sha1:ab18f0ee711834b836f2613e3cdc46ecd5e9f125</id>
<content type='text'>
Impose a maximum on our fallback estimated timeout

Closes #1693

See merge request tpo/core/arti!2842</content>
</entry>
<entry>
<title>squash! Upgrade rand dependency to 0.9.</title>
<updated>2025-03-18T16:09:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-18T13:01:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2f8993c22c2b86010e4fd8b5169ef0ab83f8c754'/>
<id>urn:sha1:2f8993c22c2b86010e4fd8b5169ef0ab83f8c754</id>
<content type='text'>
- `rand::thread_rng()` has been deprecated and renamed to `rand::rng()`
</content>
</entry>
<entry>
<title>Impose a maximum on our fallback estimated timeout</title>
<updated>2025-03-06T16:28:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-06T16:28:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0359fafa89c6bdcbffb9315eef2372730411702d'/>
<id>urn:sha1:0359fafa89c6bdcbffb9315eef2372730411702d</id>
<content type='text'>
The fallback timeout is the one that we use when we have
insufficient data.  We reset our observations, and maybe rebuild
our circuits, when we find that too many circuits have failed
recently.  When we do so, we double our fallback timeout.

Previously we had no limit, which could lead to overflow (#1693).
In this commit we impose a maximum of 2 hours,
which is ridiculously high.
(C tor uses a maximum of INT32_MAX seconds, which is even more
ridiculously high.)

Closes #1693.
</content>
</entry>
<entry>
<title>tor-circmgr: Add trace log on circuit build timeout.</title>
<updated>2025-01-08T19:15:40Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-01-08T19:15:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b22d41eda02f1da9e7b05aea09ebd2ce1f5966dc'/>
<id>urn:sha1:b22d41eda02f1da9e7b05aea09ebd2ce1f5966dc</id>
<content type='text'>
This may help debugging #1792.
</content>
</entry>
</feed>
