-
Notifications
You must be signed in to change notification settings - Fork 1.1k
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
loopback 4 services - how to configure keep-alive agent in lb4 service calls #7012
Comments
Can i get some help |
@vinutha93bnvs I am a little bit confused, please clarify. Do you want to enable keep-alive whenever you call other serves from your loopback 4 application or you want to enable other clients to call your loopback 4 application and honor keep-alive: true requests ? |
I am trying to optimize the connections on my server. i.e. enable keep-alive whenever you call other serves from my loopback 4 application. |
@vinutha93bnvs do you have the property Check: https://loopback.io/doc/en/lb4/apidocs.http-server.basehttpoptions.graceperiodforclose.html |
@marioestradarosa |
This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the |
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the |
Greetings,
To enhance the performance of a http requests (http.Agent), npm offers few packages like keepaliveAgent (https://www.npmjs.com/package/agentkeepalive)
This can improve the overall performance for frequent http calls by keep-alive connection and open sockets.
Can someone please guide how to configure KeepAliveAgent while making service calls with loopback 4 services ?
The text was updated successfully, but these errors were encountered: