Skip to content

Commit

Permalink
[FEAT] resolve is handled at nats-core level
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Jun 14, 2024
1 parent 207ae85 commit f7c1f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function connect(opts: ConnectionOptions = {}): Promise<NatsConnection> {
factory: (): Transport => {
return new DenoTransport();
},
dnsResolveFn: opts.noResolve === true ? undefined : denoResolveHost,
dnsResolveFn: denoResolveHost,
} as TransportFactory);

return NatsConnectionImpl.connect(opts);
Expand Down

0 comments on commit f7c1f1c

Please sign in to comment.