Skip to content

Commit

Permalink
Add task_impl param to server
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0baro committed Jan 8, 2025
1 parent a2dea31 commit 6bba79b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions emmett_core/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ def run(
host="127.0.0.1",
port=8000,
loop="auto",
task_impl="auto",
log_level=None,
log_access=False,
workers=1,
Expand Down Expand Up @@ -34,6 +35,7 @@ def run(
threads=threads,
threading_mode=threading_mode,
loop=loop,
task_impl=task_impl,
http=http,
websockets=enable_websockets,
backlog=backlog,
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ requires-python = '>=3.9'
dependencies = []

[project.optional-dependencies]
granian = ['granian~=1.6']
granian = ['granian~=1.7']
orjson = ['orjson~=3.10']
rapidjson = ['python-rapidjson~=1.20']
reload = ['granian[reload]~=1.6']
reload = ['granian[reload]~=1.7']

lint = ['ruff~=0.5.0']
test = [
Expand Down

0 comments on commit 6bba79b

Please sign in to comment.