GovTechSG / mcf-boilerplate-js

JavaScript boilerplates used in MyCareersFuture, moved to https://gitlab.com/mycf.sg/mcf-boilerplate-js
MIT License
3 stars 6 forks source link

fix: added keepAliveTimeout and headersTimeout #96

Closed whoiskai closed 3 years ago

whoiskai commented 3 years ago

Attempt to fix the 502 errors we are getting occasionally (but regularly) by allowing us to modify the timeout period.

Default node timeout is 5s, this allows us to increase the timeout to 10s to match Linkerd's timeout period.