Skip to content

Commit

Permalink
use space
Browse files Browse the repository at this point in the history
  • Loading branch information
winguse authored Oct 16, 2024
1 parent 32bf339 commit 6b642b9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/advanced-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,12 @@ resolver group. For example:

```java
new DnsAddressResolverGroup(
new DnsNameResolverBuilder(dnsEventLoop)
.channelType(NioDatagramChannel.class)
.resolveCache(NoopDnsCache.INSTANCE)
.cnameCache(NoopDnsCnameCache.INSTANCE)
.authoritativeDnsServerCache(NoopAuthoritativeDnsServerCache.INSTANCE)
.consolidateCacheSize(0)
new DnsNameResolverBuilder(dnsEventLoop)
.channelType(NioDatagramChannel.class)
.resolveCache(NoopDnsCache.INSTANCE)
.cnameCache(NoopDnsCnameCache.INSTANCE)
.authoritativeDnsServerCache(NoopAuthoritativeDnsServerCache.INSTANCE)
.consolidateCacheSize(0)
);
```

Expand Down

0 comments on commit 6b642b9

Please sign in to comment.