Skip to content

Commit 707d318

Browse files
committed
Removed dns cache, thing theres a memory leak
1 parent 8ee44b5 commit 707d318

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/discovery/service.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export default class ServiceDiscovery implements IDiscovery {
2222
{
2323
responseType: 'json',
2424
timeout: 500,
25-
dnsCache: true,
2625
retry: {
2726
limit: 2
2827
}
@@ -45,7 +44,6 @@ export default class ServiceDiscovery implements IDiscovery {
4544
{
4645
responseType: 'json',
4746
timeout: 500,
48-
dnsCache: true,
4947
retry: {
5048
limit: 2
5149
}

0 commit comments

Comments
 (0)