Skip to content

reduce idle connection pool time to 4 seconds#47

Merged
bnusunny merged 1 commit intomainfrom
dev
Jul 18, 2022
Merged

reduce idle connection pool time to 4 seconds#47
bnusunny merged 1 commit intomainfrom
dev

Conversation

@bnusunny
Copy link
Copy Markdown
Contributor

@bnusunny bnusunny commented Jul 18, 2022

Issue #, if available:

Close #40

Description of changes:

Reduce idle connection pool time on the http client talking to the web application. Express.js server has 5 seconds keep alive duration. Reqwest client has 90 seconds pool time for idle connections. This PR reduce that to 4 seconds.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@bnusunny bnusunny merged commit b56d320 into main Jul 18, 2022
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

Successfully merging this pull request may close these issues.

occasional 502 errors for expressjs apps

1 participant