git ssb

4+

Dominic / scuttlebot



Commit f45313ea6f6ff027628835c00091eee7d0f86251

fix local replication bug

Ev Bogue committed on 12/25/2016, 3:03:07 AM
Parent: ce85ba1c8ce86218b38a1f901dfa828fa5e6834e

Files changed

plugins/gossip/schedule.jschanged
plugins/gossip/schedule.jsView
@@ -141,9 +141,9 @@
141141 connecting = false
142142 var ts = Date.now()
143143 var peers = gossip.peers()
144144
145- var connected = peers.filter(and(isConnect, not(isLocal), not(isFriend))).length
145 + var connected = peers.filter(and(isConnect, not(isFriend))).length
146146 var connectedFriends = peers.filter(and(isConnect, isFriend)).length
147147
148148 connect(peers, ts, 'local', isLocal, {
149149 quota: 3, factor: 2e3, max: 10*min, groupMin: 1e3,

Built with git-ssb-web