git ssb

3+

andrestaltz / easy-ssb-pub



Commit 2220ba0fb72987d94f1cf2423908a51963edd193

Disable swarm connections for now

Andre Staltz committed on 2/27/2017, 1:24:57 PM
Parent: 02d03ee0ffb24d6fc6ab8d4efade6101c173609d

Files changed

src/index.tschanged
src/index.tsView
@@ -144,13 +144,13 @@
144144 net.createServer(function onConnect(socket) {
145145 debug('Facade onConnect internal common socket');
146146 const httpConnection = net.createConnection({port: EXPRESS_PORT});
147147 const sbotConnection = net.createConnection({port: SBOT_PORT});
148- const swarmConnection = net.createConnection({port: DISCOVERY_SWARM_PORT});
148 + // const swarmConnection = net.createConnection({port: DISCOVERY_SWARM_PORT});
149149
150150 socket
151151 .pipe(
152152 ternaryStream(isHTTPTraffic, httpConnection,
153- ternaryStream(isSwarmTraffic, swarmConnection,
154- sbotConnection)))
153 + // ternaryStream(isSwarmTraffic, swarmConnection,
154 + sbotConnection))
155155 .pipe(socket);
156156 }).listen(INTERNAL_COMMON_PORT);

Built with git-ssb-web