Pick a fixed scope for a TCP broker connection for now

This commit is contained in:
Tony Garnock-Jones 2018-11-22 11:20:18 +00:00
parent 6acd48b360
commit 04834140b2
1 changed files with 1 additions and 1 deletions

View File

@ -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);