1
0
mirror of synced 2026-01-14 03:01:18 -05:00
Commit Graph

4 Commits

Author SHA1 Message Date
Grace Park
15e446b9c7 Update lib/app.js
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-06-23 09:58:59 -07:00
Grace Park
9d89d42a23 updating createApp 2021-06-21 12:00:06 -07:00
Grace Park
67b32946d0 exporting createApp function in app.js 2021-06-18 14:15:47 -07:00
James M. Greene
6e20ed7927 Implement app clustering (#17752)
* Install throng for easy cluster management
* Extract the Express app construction into its own file
* Switch server.js to use app clustering for deployed environments
* Worker count is based on the lesser of process.env.WEB_CONCURRENCY and the count of CPUs
* Reading clustered output is difficult, let's prefix the std{out,err} streams

Co-authored-by: Jason Etcovitch <jasonetco@github.com>
2021-03-19 20:07:46 +00:00