Pick a fixed scope for a TCP broker connection for now
This commit is contained in:
parent
6acd48b360
commit
04834140b2
|
@ -82,7 +82,7 @@ spawn named 'websocketListener' {
|
||||||
|
|
||||||
spawn named 'tcpListener' {
|
spawn named 'tcpListener' {
|
||||||
during Tcp.TcpConnection($id, Tcp.TcpListener(8001)) spawn named ['tcpConnection', id] {
|
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 Tcp.TcpAccepted(id);
|
||||||
assert Connection(name);
|
assert Connection(name);
|
||||||
const decoder = makeDecoder(null);
|
const decoder = makeDecoder(null);
|
||||||
|
|
Loading…
Reference in New Issue