Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freeSocketTimeout not work in node 12.16.3 and later #90

Closed
JamesYYang opened this issue May 27, 2020 · 1 comment
Closed

freeSocketTimeout not work in node 12.16.3 and later #90

JamesYYang opened this issue May 27, 2020 · 1 comment

Comments

@JamesYYang
Copy link

When I upgrade node to 12.16.3 or later version. And I find there is a issue.

agent option like below

const options = {
  maxSockets: 100,
  maxFreeSockets: 20,
  timeout: 180000,
  freeSocketTimeout: 30000
};

But after 30s, agent don't close the free socket.

@JamesYYang
Copy link
Author

nodejs fix this issue on version 14.2.0

nodejs/node#33111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant