Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

fix: use events to delay before self-query #478

Merged
merged 1 commit into from
May 26, 2023

Commits on May 25, 2023

  1. fix: use events to delay before self-query

    Instead of debouncing and using timeouts to wait for DHT peers before
    running the initial self-query, instead get the routing table to emit
    events when peers are added or removed - if the table is empty when
    we run the self-query, wait for the `peer:add` event before
    continuing.
    
    Improves startup time.
    achingbrain committed May 25, 2023
    Configuration menu
    Copy the full SHA
    0438836 View commit details
    Browse the repository at this point in the history