broker/memory: small memory improvements (#1501)

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2020-04-08 14:56:54 +03:00 committed by GitHub
parent cc027d900e
commit 8400aba81c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,8 @@ func (m *memoryBroker) Connect() error {
return nil return nil
} }
addr, err := maddr.Extract("::") // use 127.0.0.1 to avoid scan of all network interfaces
addr, err := maddr.Extract("127.0.0.1")
if err != nil { if err != nil {
return err return err
} }