{"html_url": "https://github.com/simonw/datasette/issues/999#issuecomment-705872767", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/999", "id": 705872767, "node_id": "MDEyOklzc3VlQ29tbWVudDcwNTg3Mjc2Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-10-08T23:21:36Z", "updated_at": "2020-10-08T23:21:36Z", "author_association": "OWNER", "body": "I ran this to prove that it breaks:\r\n\r\n datasette publish heroku fixtures.db -n datasette-issue-999\r\n\r\nhttps://datasette-issue-999.herokuapp.com/ returned an error, as expected - here's the relevant logs:\r\n\r\n```\r\n$ heroku logs --tail -a datasette-issue-999\r\n2020-10-08T23:19:01.065103+00:00 heroku[web.1]: Starting process with command `datasette serve --host 0.0.0.0 -i fixtures.db --cors --port 22329 --inspect-file inspect-data.json`\r\n2020-10-08T23:19:05.381374+00:00 app[web.1]: WARNING: You must pass the application as an import string to enable 'reload' or 'workers'.\r\n2020-10-08T23:19:05.617519+00:00 heroku[web.1]: Process exited with status 1\r\n2020-10-08T23:19:05.690673+00:00 heroku[web.1]: State changed from starting to crashed\r\n```\r\nThen I deployed again using:\r\n\r\n datasette publish heroku fixtures.db -n datasette-issue-999 --branch=main\r\n\r\nThis time the deploy worked OK.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 717729056, "label": "Datasette should default to running Uvicorn with workers=1"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/999#issuecomment-705871513", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/999", "id": 705871513, "node_id": "MDEyOklzc3VlQ29tbWVudDcwNTg3MTUxMw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-10-08T23:17:31Z", "updated_at": "2020-10-08T23:17:31Z", "author_association": "OWNER", "body": "This does mean that any deploys to Heroku will fail with an error until this code has been released in a non-alpha Datasette release (unless you use `--branch=main`) - so I should ship this as soon as possible.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 717729056, "label": "Datasette should default to running Uvicorn with workers=1"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/999#issuecomment-705869129", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/999", "id": 705869129, "node_id": "MDEyOklzc3VlQ29tbWVudDcwNTg2OTEyOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-10-08T23:09:41Z", "updated_at": "2020-10-08T23:09:41Z", "author_association": "OWNER", "body": "I want to fix this now because then I don't need to document it in #997.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 717729056, "label": "Datasette should default to running Uvicorn with workers=1"}, "performed_via_github_app": null}