mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
fix a whitespace error in the OSX resolver section
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
This commit is contained in:
parent
366d162453
commit
b8a6d8efbb
1 changed files with 5 additions and 5 deletions
|
|
@ -85,11 +85,6 @@ against the test network.
|
||||||
|
|
||||||
Workarounds to improve DNS resolution time on OSX:
|
Workarounds to improve DNS resolution time on OSX:
|
||||||
|
|
||||||
- Reduce the system resolver timeout from the default 5s by adding to /etc/resolv.conf:
|
|
||||||
```shell
|
|
||||||
options: timeout 2
|
|
||||||
```
|
|
||||||
|
|
||||||
- Add manual DNS overrides for virtual hosts by adding to /etc/hosts:
|
- Add manual DNS overrides for virtual hosts by adding to /etc/hosts:
|
||||||
```
|
```
|
||||||
127.0.0.1 org0-ca.vcap.me
|
127.0.0.1 org0-ca.vcap.me
|
||||||
|
|
@ -104,6 +99,11 @@ options: timeout 2
|
||||||
127.0.0.1 org2-peer2.vcap.me
|
127.0.0.1 org2-peer2.vcap.me
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- Reduce the system resolver timeout from the default 5s by adding to /etc/resolv.conf:
|
||||||
|
```shell
|
||||||
|
options: timeout 2
|
||||||
|
```
|
||||||
|
|
||||||
- Compile the [fabric binaries](https://github.com/hyperledger/fabric) on a Mac and copy `build/bin/*` outputs to
|
- Compile the [fabric binaries](https://github.com/hyperledger/fabric) on a Mac and copy `build/bin/*` outputs to
|
||||||
`test-network-k8s/bin`. Mac native builds are linked against the `netdns=cgo` DNS resolver, and are not
|
`test-network-k8s/bin`. Mac native builds are linked against the `netdns=cgo` DNS resolver, and are not
|
||||||
subject to the timeouts associated with the Golang DNS resolver.
|
subject to the timeouts associated with the Golang DNS resolver.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue