Commit 2220ba0fb72987d94f1cf2423908a51963edd193
Disable swarm connections for now
Andre Staltz committed on 2/27/2017, 1:24:57 PMParent: 02d03ee0ffb24d6fc6ab8d4efade6101c173609d
Files changed
src/index.ts | changed |
src/index.ts | ||
---|---|---|
@@ -144,13 +144,13 @@ | ||
144 | 144 … | net.createServer(function onConnect(socket) { |
145 | 145 … | debug('Facade onConnect internal common socket'); |
146 | 146 … | const httpConnection = net.createConnection({port: EXPRESS_PORT}); |
147 | 147 … | 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}); | |
149 | 149 … | |
150 | 150 … | socket |
151 | 151 … | .pipe( |
152 | 152 … | ternaryStream(isHTTPTraffic, httpConnection, |
153 | - ternaryStream(isSwarmTraffic, swarmConnection, | |
154 | - sbotConnection))) | |
153 … | + // ternaryStream(isSwarmTraffic, swarmConnection, | |
154 … | + sbotConnection)) | |
155 | 155 … | .pipe(socket); |
156 | 156 … | }).listen(INTERNAL_COMMON_PORT); |
Built with git-ssb-web