Skip to content

http: set lifo as the default scheduling strategy in Agent.

Rodrigo Muino Tomonari requested to merge github/fork/mcollina/default-lifo into master

In https://github.com/nodejs/node/pull/33278 we have added a scheduling option for our http.Agent to use a LIFO algorithm instead of FIFO. This greatly reduces the amount of ECONNRESET errors due to timeouts, and it's generically a better production experience for our users.

I propose to make this the default.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading