Skip to content

Commit

Permalink
Fix Python serving tour (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvdongen authored Sep 9, 2024
1 parent 714767b commit 410e9d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/tour-of-restate-python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pip install -r requirements.txt
Start the app as follows:

```shell
python3 -m hypercorn -b localhost:9080 tour/app/app:app
python -m hypercorn --config hypercorn-config.toml tour/app/app:app
```

Start the Restate Server ([other options here](https://docs.restate.dev/develop/local_dev)):
Expand Down
5 changes: 5 additions & 0 deletions tutorials/tour-of-restate-python/hypercorn-config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bind = "0.0.0.0:9080"
h2_max_concurrent_streams = 2147483647
keep_alive_max_requests = 2147483647
keep_alive_timeout = 2147483647
workers = 8

0 comments on commit 410e9d2

Please sign in to comment.