mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
dns: restore dns query cache ttl
Fixes: https://github.com/nodejs/node/issues/57636 Co-authored-by: Robert Nagy <ronagy@icloud.com> PR-URL: https://github.com/nodejs/node/pull/57640 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
d5e73ce0f8
commit
b2b9eb36af
1 file changed
+1
@@ -711,6 +711,7 @@ void ChannelWrap::Setup() {
|
||||
options.sock_state_cb_data = this;
|
||||
options.timeout = timeout_;
|
||||
options.tries = tries_;
|
||||
options.qcache_max_ttl = 0;
|
||||
|
||||
int r;
|
||||
if (!library_inited_) {
|
||||
|
||||
Reference in new issue
Block a user