Skip to content

Commit 27383dd

Browse files
committed
[Python] Update Granian to 2.6
1 parent 5e14b91 commit 27383dd

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

frameworks/Python/granian/app_asgi.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ async def route_db(scope, receive, send):
106106
async def route_queries(scope, receive, send):
107107
num_queries = get_num_queries(scope)
108108
row_ids = sample(range(1, 10000), num_queries)
109-
worlds = []
110109

111110
async with pool.acquire() as connection:
112111
rows = await connection.fetchmany(SQL_SELECT, [(v,) for v in row_ids])

frameworks/Python/granian/granian-nogil.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ RUN uv pip install -r requirements-nogil.txt
1313

1414
EXPOSE 8080
1515

16-
CMD uv run python run_nogil.py rsgi st
16+
CMD uv run python run_nogil.py rsgi mt

frameworks/Python/granian/granian-rsgi.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ RUN pip install -r /granian/requirements.txt
88

99
EXPOSE 8080
1010

11-
CMD python run.py rsgi st
11+
CMD python run.py rsgi mt
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
granian[rloop]>=2.5.0,<2.6.0
1+
granian[rloop]>=2.6.0,<2.7.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
asyncpg==0.30.0
2-
granian[uvloop]>=2.5.0,<2.6.0
2+
granian[uvloop]>=2.6.0,<2.7.0
33
jinja2==3.1.6
44
orjson==3.11.3

0 commit comments

Comments
 (0)