1
0
mirror of synced 2025-12-22 11:26:57 -05:00
Commit Graph

21 Commits

Author SHA1 Message Date
Grace Park
bf3bc2804a adding the rest of the 2 requires 2021-06-23 14:08:00 -07:00
Mike Surowiec
5af742b722 fix: load feature flags sooner 2021-06-23 13:41:56 -07:00
Grace Park
9956bf1250 Update server.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-06-23 10:47:27 -07:00
Grace Park
6db9920658 Update server.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-06-23 10:44:59 -07:00
Kevin Heis
6872ca29bb Update server.js 2021-06-23 10:01:41 -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
Grace Park
0762734b43 fixed easy global requires 2021-06-17 18:39:38 -07:00
James M. Greene
3899af0d0d Do not use clustering in non-production environments (#18438) 2021-03-26 14:10:50 -05:00
James M. Greene
94362e618e Adjust worker count calculation to allow local clustering with WEB_CONCURRENCY (#18366)
* Adjust worker count calculation to allow local clustering with WEB_CONCURRENCY
* Only honor WEB_CONCURRENCY if it parses to a number > 0
2021-03-23 21:36:24 +00: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
James M. Greene
3e2770f289 Add dotenv config to server.js (#18227)
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
2021-03-11 15:26:40 -05:00
Kevin Heis
a66fc72944 Skip warm server when starting staging (#16978) 2020-12-15 19:22:06 +00:00
Jason Etcovitch
1e7af2a0bb Add a check for GITHUB_ACTIONS (#16912) 2020-12-11 20:15:13 +00:00
Kevin Heis
28de276a17 Revert #574957397927895797584397843959398 (#16905)
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2020-12-11 19:53:55 +00:00
Jason Etcovitch
64d38468c6 Add await to warmServer in all environments (#16841) 2020-12-09 13:06:32 -05:00
James M. Greene
f312814219 Put the 'await' back with 'warmServer' for true production startup (#16765) 2020-12-07 15:16:08 -06:00
Hollow Man
5246cfbda9 Fix typo
durings -> during
2020-11-21 00:43:27 +08:00
Chiedo John
8a26395e79 Prevent warmserver from blocking the port from being attached (#16150)
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-10-21 10:26:50 -04:00
Chiedo John
6762f8c1b7 Meet licensing requirements (#15794)
Meet licensing requirements
2020-09-29 08:51:48 -07:00
Vanessa Yuen
3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00