<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-basic-utils/src/retry.rs, branch arti-v1.1.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-01-27T13:28:02Z</updated>
<entry>
<title>Allow clippy::unchecked_duration_subtraction in tests</title>
<updated>2023-01-27T13:28:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T13:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6dd92843edf2bd4c58de62a0d562921e4191ada'/>
<id>urn:sha1:a6dd92843edf2bd4c58de62a0d562921e4191ada</id>
<content type='text'>
This panics on error, and we're fine with a panic on misbehavior in
tests.
</content>
</entry>
<entry>
<title>test lint blocks: Add many many automatically</title>
<updated>2022-12-12T18:00:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-12-12T17:58:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=125a455bdcca841931f33f83f206e57637ae85c4'/>
<id>urn:sha1:125a455bdcca841931f33f83f206e57637ae85c4</id>
<content type='text'>
This is precisely the result of running the rune in
maint/adhoc-add-lint-blocks.
</content>
</entry>
<entry>
<title>Use testing_rng() in tests throughout our crates.</title>
<updated>2022-06-02T18:56:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-02T17:31:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=967ea67b7dfc158f29cf449eb09bac89acdee46b'/>
<id>urn:sha1:967ea67b7dfc158f29cf449eb09bac89acdee46b</id>
<content type='text'>
This only affects uses of thread_rng(), and affects them all more or
less indiscriminately.  One test does not work with
ARTI_TEST_PRNG=deterministic; the next commit will fix it.
</content>
</entry>
<entry>
<title>tor-basic-utils: Add RetryDelay::reset test</title>
<updated>2022-04-23T12:04:15Z</updated>
<author>
<name>Samanta Navarro</name>
<email>ferivoz@riseup.net</email>
</author>
<published>2022-04-23T11:58:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d3b1a93474b3ce3bdfd12a8a3010013ec49f1b1f'/>
<id>urn:sha1:d3b1a93474b3ce3bdfd12a8a3010013ec49f1b1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add RetrySchedule::reset()</title>
<updated>2022-04-04T16:32:18Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-04-04T14:27:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=57608f9609e0a06bcbfadb6206c89ac34c350e02'/>
<id>urn:sha1:57608f9609e0a06bcbfadb6206c89ac34c350e02</id>
<content type='text'>
Previously the code would do stuff like

```
    schedule = RetrySchedule::new(INITIAL_DELAY);
```

which is needlessly verbose, since the schedule already keeps track
of its initial delay.
</content>
</entry>
<entry>
<title>Adjust a comment</title>
<updated>2022-03-21T17:44:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-03-21T17:44:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9de0c024bf27b4a64559e023d23184d37ad7d092'/>
<id>urn:sha1:9de0c024bf27b4a64559e023d23184d37ad7d092</id>
<content type='text'>
Noticed this while reviewing !426
</content>
</entry>
<entry>
<title>RetryDelay: remove accessors.</title>
<updated>2022-03-16T14:50:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-16T14:50:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=09f750c2c8af438c0b225984162842079c485e80'/>
<id>urn:sha1:09f750c2c8af438c0b225984162842079c485e80</id>
<content type='text'>
Instead, check initial_delay in dirmgr directly.
</content>
</entry>
<entry>
<title>Fix up documentation on RetryDelay.</title>
<updated>2022-03-16T12:42:46Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-16T12:42:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=90c48dc1b00ffbae8624352916e0cb107e1666d4'/>
<id>urn:sha1:90c48dc1b00ffbae8624352916e0cb107e1666d4</id>
<content type='text'>
It's no longer about downloads; it's about whatever you need to
retry.
</content>
</entry>
<entry>
<title>Move RetryDelay from dirmgr to basic-utils.</title>
<updated>2022-03-16T12:31:54Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-16T12:31:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=67645473d51867862bc8fd12e28ddb10cff705ba'/>
<id>urn:sha1:67645473d51867862bc8fd12e28ddb10cff705ba</id>
<content type='text'>
This (almost) a pure code-movement commit: it also makes one public
function private in order to suppress a warning.
</content>
</entry>
</feed>
