Commit f45313ea6f6ff027628835c00091eee7d0f86251
fix local replication bug
Ev Bogue committed on 12/25/2016, 3:03:07 AMParent: ce85ba1c8ce86218b38a1f901dfa828fa5e6834e
Files changed
plugins/gossip/schedule.js | changed |
plugins/gossip/schedule.js | |||
---|---|---|---|
@@ -141,9 +141,9 @@ | |||
141 | 141 … | connecting = false | |
142 | 142 … | var ts = Date.now() | |
143 | 143 … | var peers = gossip.peers() | |
144 | 144 … | ||
145 | - var connected = peers.filter(and(isConnect, not(isLocal), not(isFriend))).length | ||
145 … | + var connected = peers.filter(and(isConnect, not(isFriend))).length | ||
146 | 146 … | var connectedFriends = peers.filter(and(isConnect, isFriend)).length | |
147 | 147 … | ||
148 | 148 … | connect(peers, ts, 'local', isLocal, { | |
149 | 149 … | quota: 3, factor: 2e3, max: 10*min, groupMin: 1e3, |
Built with git-ssb-web