We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b58745f commit 01e6fb8Copy full SHA for 01e6fb8
src/ConfigurationClientManager.ts
@@ -87,10 +87,11 @@ export class ConfigurationClientManager {
87
this.#isFailoverable = false;
88
return;
89
}
90
- if (this.#dns) {
+ if (this.#dns) { // dns module is already loaded
91
92
93
94
+ // We can only know whether dns module is available during runtime.
95
try {
96
this.#dns = await import("dns/promises");
97
} catch (error) {
0 commit comments