<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-circmgr/src/timeouts/pareto.rs, branch arti-v1.4.4</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.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-05-13T18:53:41Z</updated>
<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>
<entry>
<title>Run maint/add_warning.</title>
<updated>2024-03-13T16:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T16:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c'/>
<id>urn:sha1:c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run maint/add_warning to add lint block everywhere</title>
<updated>2023-08-23T09:34:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-22T14:28:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac'/>
<id>urn:sha1:42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'clippy-allow' into 'main'</title>
<updated>2023-07-11T09:37:42Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2023-07-11T09:37:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3acc2af4f3411588f80669ae1980679dd260b119'/>
<id>urn:sha1:3acc2af4f3411588f80669ae1980679dd260b119</id>
<content type='text'>
clippy: Allow some of our existing code patterns

See merge request tpo/core/arti!1396</content>
</entry>
</feed>
