summaryrefslogtreecommitdiff
path: root/crates/tor-dirmgr/src/retry.rs
Commit message (Collapse)AuthorAgeFilesLines
* RetryDelay: remove accessors.Nick Mathewson2022-03-161-7/+9
| | | | Instead, check initial_delay in dirmgr directly.
* Remove re-export of retry-schedule in tor-dirmgr.Nick Mathewson2022-03-161-1/+1
| | | | It wasn't necessary.
* Fix up documentation on RetryDelay.Nick Mathewson2022-03-161-6/+3
| | | | | It's no longer about downloads; it's about whatever you need to retry.
* Move RetryDelay from dirmgr to basic-utils.Nick Mathewson2022-03-161-155/+1
| | | | | This (almost) a pure code-movement commit: it also makes one public function private in order to suppress a warning.
* RetryDelay: add accessors for stateNick Mathewson2022-03-161-5/+22
| | | | | We'll need these for our unit tests in tor-dirmgr once we move RetryDelay into tor-basic-utils.
* Add basic tests for high-level buildersNick Mathewson2021-11-251-0/+1
| | | | | Make sure that we can change elements, and we can reconstruct builders that give us the same thing.
* Rename RetryConfig to DownloadSchedule, fold in parallelism.Nick Mathewson2021-11-181-16/+41
|
* More tests on tor-dirmgr::stateNick Mathewson2021-11-081-1/+1
| | | | | These test our download schedules, resetting to the original state, and storing downloaded objects.
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+237
This will cause some pain for now, but now is really the best time to do this kind of thing.