diff --git a/src/js/PeerManager.js b/src/js/PeerManager.js index 3f296c3d..0bd9b63d 100644 --- a/src/js/PeerManager.js +++ b/src/js/PeerManager.js @@ -6,11 +6,11 @@ import Gun from 'gun'; const MAX_PEER_LIST_SIZE = 10; const ELECTRON_GUN_URL = 'http://localhost:8767/gun'; -let maxConnectedPeers = Helpers.isElectron ? 2 : 1; +let maxConnectedPeers = 3; const DEFAULT_PEERS = {}; DEFAULT_PEERS['https://gun-rs.iris.to/gun'] = {}; -// DEFAULT_PEERS['https://gun-us.herokuapp.com/gun'] = {}; // disable for now +DEFAULT_PEERS['https://gun-us.herokuapp.com/gun'] = {}; const loc = window.location; const host = loc.host; const is_localhost_but_not_dev = host.startsWith('localhost') && host !== 'localhost:8080';