Skip to content
Snippets Groups Projects
Forked from The Tor Project / Core / Arti
Source project has a limited visibility.
  • Nick Mathewson's avatar
    57608f96
    Add RetrySchedule::reset() · 57608f96
    Nick Mathewson authored
    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.
    57608f96
    History
    Add RetrySchedule::reset()
    Nick Mathewson authored
    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.