Skip to content
Snippets Groups Projects
  • Wolfgang Welz's avatar
    002ee26f
    Feat: Improve peer selection logic to avoid parallel connections (#101) · 002ee26f
    Wolfgang Welz authored
    
    * Log failed connection attempts
    
    * Only trigger drop event, when a neighbor was removed
    
    * Remove unused dropNeighbors
    
    * Use only one loop to process channels in selection
    
    * Update out neighbors less often
    
    * feat: introduce SaltUpdated event
    
    * fix: use global parameters
    
    * Update salt log messages
    
    * fix: do not close public channels to prevent panics during shutdown
    
    * fix: assure correct order of events
    
    * feat: add selection event tests
    
    * Set update interval to 1s and full updat interval to 1m
    
    * Use subtests for the protocol tests
    
    * fix: send peering drop message only when event is triggered
    
    * Update packages/autopeering/selection/manager.go
    
    Co-Authored-By: default avatarjkrvivian <jkrvivian@gmail.com>
    
    Co-authored-by: default avatarjkrvivian <jkrvivian@gmail.com>
    Feat: Improve peer selection logic to avoid parallel connections (#101)
    Wolfgang Welz authored
    
    * Log failed connection attempts
    
    * Only trigger drop event, when a neighbor was removed
    
    * Remove unused dropNeighbors
    
    * Use only one loop to process channels in selection
    
    * Update out neighbors less often
    
    * feat: introduce SaltUpdated event
    
    * fix: use global parameters
    
    * Update salt log messages
    
    * fix: do not close public channels to prevent panics during shutdown
    
    * fix: assure correct order of events
    
    * feat: add selection event tests
    
    * Set update interval to 1s and full updat interval to 1m
    
    * Use subtests for the protocol tests
    
    * fix: send peering drop message only when event is triggered
    
    * Update packages/autopeering/selection/manager.go
    
    Co-Authored-By: default avatarjkrvivian <jkrvivian@gmail.com>
    
    Co-authored-by: default avatarjkrvivian <jkrvivian@gmail.com>