From 04834140b280379cf599422ff5418bf30737836d Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Thu, 22 Nov 2018 11:20:18 +0000 Subject: [PATCH] Pick a fixed scope for a TCP broker connection for now --- packages/broker/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/broker/src/index.js b/packages/broker/src/index.js index 995f787..5ec653b 100644 --- a/packages/broker/src/index.js +++ b/packages/broker/src/index.js @@ -82,7 +82,7 @@ spawn named 'websocketListener' { spawn named 'tcpListener' { during Tcp.TcpConnection($id, Tcp.TcpListener(8001)) spawn named ['tcpConnection', id] { - const name = ConnectionName(scope, id); + const name = ConnectionName('broker', id); assert Tcp.TcpAccepted(id); assert Connection(name); const decoder = makeDecoder(null);