ssbc / ssb-conn

SSB plugin for establishing and managing peer connections
MIT License
16 stars 5 forks source link

Should prefer connecting to friends (mutual follows) over non-friends #18

Open staltz opened 4 years ago

staltz commented 4 years ago

Not confirmed, but it seems like the current behavior is:

Maybe this has to do with the fact that the scheduler is "full" (achieved the target of "3" successful connections)? And how do we avoid dancing back and forth, e.g. both Alice and Bob are our friend, we are connected to Alice, then Bob comes online, and we connect to Bob, disconnect from Alice, but Alice is our friend so we connect to Alice, disconnect from Bob, but Bob is our friend so we connect to Bob, disconnect from Alice, etc...