Default to Uvicorn workers=1, refs #999

This commit is contained in:
Simon Willison 2020-10-08 16:16:55 -07:00
commit 86823ae6f7
3 changed files with 4 additions and 14 deletions

View file

@ -59,15 +59,6 @@ def test_publish_heroku(mock_call, mock_check_output, mock_which):
assert 0 == result.exit_code, result.output
mock_call.assert_has_calls(
[
mock.call(
[
"heroku",
"config:set",
"-a",
"f",
"WEB_CONCURRENCY=1",
]
),
mock.call(
["heroku", "builds:create", "-a", "f", "--include-vcs-ignore"]
),