Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix goroutine build up from connected notifications #430

Merged
merged 8 commits into from
Jul 13, 2021
Merged

fix goroutine build up from connected notifications #430

merged 8 commits into from
Jul 13, 2021

Commits on Jul 13, 2021

  1. Configuration menu
    Copy the full SHA
    9ffb307 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a123864 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c2c68ab View commit details
    Browse the repository at this point in the history
  4. do the notification in a goroutine

    don't block the swarm while waiting for the semaphore.
    vyzo committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    14213be View commit details
    Browse the repository at this point in the history
  5. use a priority lock instead of a semaphore

    so that there is no case of infinite accumulation of pending peers in the queue.
    also adds a connectedness check before adding the peer.
    vyzo committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    5671c61 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2c153fe View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e4bb1a5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f890ce8 View commit details
    Browse the repository at this point in the history