<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src/publish/backoff.rs, branch arti-v1.4.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.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-08-28T14:27:46Z</updated>
<entry>
<title>extract tor_async_utils::oneshot into ::oneshot-fused-workaround</title>
<updated>2024-08-28T14:27:46Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-08-22T19:20:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=46f7f01092e6ac55e3e958dc3a2228b1d36e26a1'/>
<id>urn:sha1:46f7f01092e6ac55e3e958dc3a2228b1d36e26a1</id>
<content type='text'>
Having this in the `tor-async-utils` crate prevents us from doing both
of the following without introducing a circular dependency:

* using it in `tor-rtmock` (which we currently do, particularly in
  tests).
* using `tor-rtmock` to test things in `tor-async-utils`. We don't do
  this yet, but it is generally sensible to do so. In particular we
  want to move the `stream_peak` module there, which is currently tested
  with `tor-rtmock`.

Moving this into its own crate avoids this circular dependency.
</content>
</entry>
<entry>
<title>tor-hsservice: Specify the type when discarding value.</title>
<updated>2024-07-09T17:21:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-09T17:13:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ee199189149e6ff9a4ba6fc9c551c9dae647314b'/>
<id>urn:sha1:ee199189149e6ff9a4ba6fc9c551c9dae647314b</id>
<content type='text'>
This should give us some confidence that we are not accidentally
discarding results we should actually be using.

Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2251#note_3046219
</content>
</entry>
<entry>
<title>tor-hsservice: Resolve a handful of unused variable warnings.</title>
<updated>2024-07-09T13:22:44Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-09T12:00:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7fff09020e164d675f27e71b1c019b8da96ad9ee'/>
<id>urn:sha1:7fff09020e164d675f27e71b1c019b8da96ad9ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Move optional timeout to optionally_timeout().</title>
<updated>2024-04-02T17:41:39Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-04-02T15:35:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=08b1b75bbb7e0051b0e429e97857b753a001fc69'/>
<id>urn:sha1:08b1b75bbb7e0051b0e429e97857b753a001fc69</id>
<content type='text'>
Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2064#note_3014793
</content>
</entry>
<entry>
<title>tor-hsservice: s/timeout/overall_timeout for clarity.</title>
<updated>2024-04-02T14:58:38Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-04-02T14:58:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=21ba4d453e650c672e985d41931cefcc9a04c10a'/>
<id>urn:sha1:21ba4d453e650c672e985d41931cefcc9a04c10a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Add a test for the backoff runner's single_attempt_timeout().</title>
<updated>2024-04-02T11:56:05Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-04-02T11:32:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=822afe162dce39f673068e887ea91d296601e417'/>
<id>urn:sha1:822afe162dce39f673068e887ea91d296601e417</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Use single_attempt_timeout in backoff Runner impl (fmt).</title>
<updated>2024-04-02T11:55:59Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-04-02T11:55:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7040f26ff17831023a5c2380ab9d4d4f8d9e2107'/>
<id>urn:sha1:7040f26ff17831023a5c2380ab9d4d4f8d9e2107</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Use single_attempt_timeout in backoff Runner impl.</title>
<updated>2024-04-02T11:52:31Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-03-27T15:33:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=239ccf973f40b9f3144189a07906736d965e9d54'/>
<id>urn:sha1:239ccf973f40b9f3144189a07906736d965e9d54</id>
<content type='text'>
!2024 introduced `BackoffSchedule::single_attempt_timeout()`, partially
implementing #1259. This completes the implementation by moving the
per-iteration timeout from the publisher reactor to `backoff::Runner`.

Addresses https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2024?commit_id=a4f2bf5cb7d4027a49b74ec5a5298f7b9a3cf62e#note_3005097

Note: the `if should_retry` block is intentionally misindented, to make
reviewing the actual changes easier. A future commit will fix the
indentation. I originally wanted to suggest reviewing this commit using
`--ignore-space-change`, but I found that it makes things a bit
confusing (it shows some funky indentation around the parts that have
both whitespace changes and modifications).

Closes #1259
</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>BackoffSchedule refactoring and improvements</title>
<updated>2024-03-07T21:06:28Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2024-03-07T21:06:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2b44b6570e3f275249b925d9ce50d9ca932245e5'/>
<id>urn:sha1:2b44b6570e3f275249b925d9ce50d9ca932245e5</id>
<content type='text'>
</content>
</entry>
</feed>
