Для этого сайта требуется поддержка JavaScript.
Обзор
Помощь
Регистрация
Вход
github
/
docs
зеркало из
https://github.com/github/docs.git
Следить
1
В избранное
0
Форкнуть
Вы уже форкнули docs
0
Код
Задачи
Пакеты
Проекты
Релизы
Вики
Активность
534eb5ba3d
docs
/
server.mjs
4 строки
50 B
JavaScript
Исходник
Обычный вид
История
Убрать экранирование
Экранировать
automatically start server for jest (#26206) * reinstate * start server manually * routing tests too * skip more * sleep more and fail if not 200 * use e2etest for content/ too * automatically start server for jest * does this work? * feedbacked * rename things * getting it to work * add dev dependency * install the right version * don't need to start that * fix package lock * update readme about it * feedbacked
2022-03-19 00:46:07 +03:00
import
{
main
}
from
'./start-server.mjs'
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 23:07:46 +03:00
Remove clustering, remove WEB_CONCURRENCY setting (#24914) * Remove WEB_CONCURRENCY setting
2022-02-04 00:44:03 +03:00
main
(
)