Replies: 1 comment 1 reply
-
How are you running the app? Running with uvicorn or adding async def app(scope, receive, send):
assert scope['type'] == 'http'
await send({
'type': 'http.response.start',
'status': 200,
'headers': [
[b'content-type', b'text/plain'],
],
})
await send({
'type': 'http.response.body',
'body': b'Hello, world!',
}) And running with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have startup times that are extremely painful. Before I logged an issue, I thought I'll first do some preliminary checks with support from folks here.
I run
python test.py
and just wait about a minute or two before the server startup and serves the page. This is on a MacBook Pro M1. I suspected iCloud maybe moving files to iCloud and it's having to download from iCloud. But even when I force a download this delay exists. What can I do to troubleshoot this? Please help!test.py
Beta Was this translation helpful? Give feedback.
All reactions